@@ -1036,12 +1036,12 @@ def split_dataframe_by_prefix(
10361036 object_prefix ,
10371037 msdf .converter .parse_curie (relation , strict = True ),
10381038 )
1039- split_id = group .as_identifier ()
1039+ split = group .as_identifier ()
10401040 if subject_prefix not in msdf .converter .bimap :
1041- logging .warning (f"{ split_id } - missing subject prefix - { subject_prefix } " )
1041+ logging .warning (f"{ split } - missing subject prefix - { subject_prefix } " )
10421042 continue
10431043 if object_prefix not in msdf .converter .bimap :
1044- logging .warning (f"{ split_id } - missing object prefix - { object_prefix } " )
1044+ logging .warning (f"{ split } - missing object prefix - { object_prefix } " )
10451045 continue
10461046 mappings_by_group [group ] = []
10471047
@@ -1062,14 +1062,14 @@ def split_dataframe_by_prefix(
10621062 # Convert the mappings in each group to a MappingSetDataFrame and index them
10631063 # by a string identifier.
10641064 for group , mappings in mappings_by_group .items ():
1065- split_id = group .as_identifier ()
1065+ split = group .as_identifier ()
10661066 if len (mappings ) == 0 :
1067- logging .debug (f"{ split_id } - No matches (0 matches found)" )
1067+ logging .debug (f"{ split } - No matches (0 matches found)" )
10681068 continue
10691069 subconverter = msdf .converter .get_subconverter (
10701070 [group .subject_prefix , group .object_prefix , group .relation_curie .prefix ]
10711071 )
1072- split_to_msdf [split_id ] = from_sssom_dataframe (
1072+ split_to_msdf [split ] = from_sssom_dataframe (
10731073 pd .DataFrame (mappings ), prefix_map = dict (subconverter .bimap ), meta = meta
10741074 )
10751075
0 commit comments