Skip to content

Commit

Permalink
Update petab/v2/lint.py
Browse files Browse the repository at this point in the history
Co-authored-by: Dilan Pathirana <[email protected]>
  • Loading branch information
dweindl and dilpath authored Dec 11, 2024
1 parent cb34ebd commit 25085ad
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions petab/v2/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -644,9 +644,7 @@ def get_valid_parameters_for_parameter_table(
)

if mapping_df is not None:
for from_id, to_id in zip(
mapping_df.index.values, mapping_df[MODEL_ENTITY_ID], strict=True
):
for from_id, to_id in mapping_df[MODEL_ENTITY_ID].items():
if to_id in parameter_ids.keys():
parameter_ids[from_id] = None

Expand Down

0 comments on commit 25085ad

Please sign in to comment.