Skip to content

Commit 6660a26

Browse files
committed
Update parsers.py
1 parent 0e7cef7 commit 6660a26

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/sssom/parsers.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -990,14 +990,6 @@ def split_dataframe(
990990
)
991991

992992

993-
class SSSOMSplitGroup(NamedTuple):
994-
"""The key of a group of mappings in a split MappingSetDataFrame."""
995-
996-
subject_prefix: str
997-
object_prefix: str
998-
relation_tup: ReferenceTuple
999-
1000-
1001993
def split_dataframe_by_prefix(
1002994
msdf: MappingSetDataFrame,
1003995
subject_prefixes: Iterable[str],
@@ -1060,6 +1052,14 @@ def split_dataframe_by_prefix(
10601052
return split_to_msdf
10611053

10621054

1055+
class SSSOMSplitGroup(NamedTuple):
1056+
"""The key of a group of mappings in a split MappingSetDataFrame."""
1057+
1058+
subject_prefix: str
1059+
object_prefix: str
1060+
relation_tup: ReferenceTuple
1061+
1062+
10631063
def _ensure_valid_mapping_from_dict(mdict: Dict[str, Any]):
10641064
"""
10651065
Return a valid mapping object if it can be constructed, else None.

0 commit comments

Comments
 (0)