Skip to content

Commit

Permalink
shortened code
Browse files Browse the repository at this point in the history
  • Loading branch information
hrshdhgd committed Nov 14, 2023
1 parent 5d2f327 commit 964f032
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sssom/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ def from_mapping_set_document(cls, doc: MappingSetDocument) -> "MappingSetDataFr
non_double_cols.replace(np.nan, "", inplace=True)
df.update(non_double_cols)

df = sort_df_rows_columns(df)
return cls.with_converter(df=df, converter=doc.converter, metadata=meta)
return cls.with_converter(df=sort_df_rows_columns(df), converter=doc.converter, metadata=meta)


def to_mapping_set_document(self) -> "MappingSetDocument":
"""Get a mapping set document."""
Expand Down

0 comments on commit 964f032

Please sign in to comment.