Skip to content

Commit 3212482

Browse files
dweindldilpath
andauthored
Update petab/v2/petab1to2.py
Co-authored-by: Dilan Pathirana <59329744+dilpath@users.noreply.github.com>
1 parent d6f071b commit 3212482

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

petab/v2/petab1to2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def create_experiment_id(sim_cond_id: str, preeq_cond_id: str) -> str:
106106
return ""
107107
if preeq_cond_id:
108108
preeq_cond_id = f"{preeq_cond_id}_"
109-
exp_id = f"experiment_{preeq_cond_id}{sim_cond_id}"
109+
exp_id = f"experiment__{preeq_cond_id}__{sim_cond_id}"
110110
if exp_id in experiments: # noqa: B023
111111
i = 1
112112
while f"{exp_id}_{i}" in experiments: # noqa: B023

0 commit comments

Comments
 (0)