Skip to content

Commit

Permalink
Reduce diff
Browse files Browse the repository at this point in the history
  • Loading branch information
cthoyt committed Nov 20, 2023
1 parent 92e8158 commit 558ca15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sssom/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,6 @@ def _get_mapping_set_from_df(df: pd.DataFrame, meta: Optional[MetadataType] = No

for k, v in bad_attrs.items():
logging.warning(f"No attr for {k} [{v} instances]")

return mapping_set


Expand Down Expand Up @@ -890,6 +889,7 @@ def _ensure_valid_mapping_from_dict(mdict: Dict[str, Any]):
:return: A valid Mapping object, or None.
"""
mdict.setdefault(MAPPING_JUSTIFICATION, MAPPING_JUSTIFICATION_UNSPECIFIED)

try:
m = Mapping(**mdict)
except ValueError as e:
Expand Down

0 comments on commit 558ca15

Please sign in to comment.