Skip to content

Commit bf9c32b

Browse files
authored
changed metadata = metadata.prefix_map -> metadata = metadata.metadata (#206)
* changed metadata.prefix_map ->metadata.metadata * reformatted * bumped version
1 parent 52ad5ae commit bf9c32b

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
##########################
44
[metadata]
55
name = sssom
6-
version = 0.3.6-dev
6+
version = 0.3.8-dev
77
description = Operations on SSSOM mapping tables
88
long_description = file: README.md
99
long_description_content_type = text/markdown

sssom/io.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,7 @@ def parse_file(
6161
metadata = set_default_mapping_set_id(metadata)
6262
metadata = set_default_license(metadata)
6363
parse_func = get_parsing_function(input_format, input_path)
64-
doc = parse_func(
65-
input_path, prefix_map=metadata.prefix_map, meta=metadata.prefix_map
66-
)
64+
doc = parse_func(input_path, prefix_map=metadata.prefix_map, meta=metadata.metadata)
6765
if clean_prefixes:
6866
# We do this because we got a lot of prefixes from the default SSSOM prefixes!
6967
doc.clean_prefix_map()

0 commit comments

Comments
 (0)