Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions petab/v1/mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ def get_mapping_df(

for col in MAPPING_DF_REQUIRED_COLS:
if col not in mapping_file.columns:
raise KeyError(
f"Mapping table missing mandatory field {PETAB_ENTITY_ID}."
)
raise KeyError(f"Mapping table missing mandatory field {col}.")

lint.assert_no_leading_trailing_whitespace(
mapping_file.reset_index()[col].values, col
Expand Down
Loading