Skip to content

Commit d35a4cf

Browse files
authored
Merge branch 'develop' into dependabot/github_actions/codecov/codecov-action-5
2 parents cc6eaae + 0b77d7f commit d35a4cf

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/ci_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,5 @@ jobs:
5454
uses: codecov/codecov-action@v5
5555
with:
5656
token: ${{ secrets.CODECOV_TOKEN }}
57-
file: ./coverage.xml
57+
files: ./coverage.xml
5858
if: matrix.platform == 'ubuntu-latest'

petab/v1/mapping.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ def get_mapping_df(
4343

4444
for col in MAPPING_DF_REQUIRED_COLS:
4545
if col not in mapping_file.columns:
46-
raise KeyError(
47-
f"Mapping table missing mandatory field {PETAB_ENTITY_ID}."
48-
)
46+
raise KeyError(f"Mapping table missing mandatory field {col}.")
4947

5048
lint.assert_no_leading_trailing_whitespace(
5149
mapping_file.reset_index()[col].values, col

0 commit comments

Comments
 (0)