Skip to content

Commit 6af6a7e

Browse files
authored
fix error message for missing cols in mapping df
1 parent 99373c4 commit 6af6a7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

petab/v1/mapping.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def get_mapping_df(
4444
for col in MAPPING_DF_REQUIRED_COLS:
4545
if col not in mapping_file.columns:
4646
raise KeyError(
47-
f"Mapping table missing mandatory field {PETAB_ENTITY_ID}."
47+
f"Mapping table missing mandatory field {col}."
4848
)
4949

5050
lint.assert_no_leading_trailing_whitespace(

0 commit comments

Comments
 (0)