Skip to content

Commit

Permalink
Merge branch 'develop' into dependabot/github_actions/codecov/codecov…
Browse files Browse the repository at this point in the history
…-action-5
  • Loading branch information
dweindl authored Dec 3, 2024
2 parents cc6eaae + 0b77d7f commit d35a4cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,5 @@ jobs:
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
files: ./coverage.xml
if: matrix.platform == 'ubuntu-latest'
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

0 comments on commit d35a4cf

Please sign in to comment.