Skip to content

Commit

Permalink
Update petab/v2/petab1to2.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 18, 2024
1 parent d6f071b commit 3212482
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion petab/v2/petab1to2.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def create_experiment_id(sim_cond_id: str, preeq_cond_id: str) -> str:
return ""
if preeq_cond_id:
preeq_cond_id = f"{preeq_cond_id}_"
exp_id = f"experiment_{preeq_cond_id}{sim_cond_id}"
exp_id = f"experiment__{preeq_cond_id}__{sim_cond_id}"
if exp_id in experiments: # noqa: B023
i = 1
while f"{exp_id}_{i}" in experiments: # noqa: B023
Expand Down

0 comments on commit 3212482

Please sign in to comment.