Skip to content

Commit

Permalink
Update sssom_utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cthoyt committed Oct 4, 2023
1 parent 46e687b commit 4e77d61
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/oaklib/utilities/mapping/sssom_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ def emit(self, obj: Mapping):

def finish(self):
converter = self.ontology_interface.converter if self.ontology_interface else None
# default metadata, including an auto-generated mapping set URI and
# a license, are automatically added with this function
msdf = MappingSetDataFrame.from_mappings(self.mappings, converter=converter)
msdf.clean_prefix_map(strict=False)
write_table(msdf, self.file)

0 comments on commit 4e77d61

Please sign in to comment.