Skip to content

Commit 91f6923

Browse files
dweindldilpath
andauthored
Update petab/v2/core.py
Co-authored-by: Dilan Pathirana <[email protected]>
1 parent 6a656ce commit 91f6923

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

petab/v2/core.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2314,7 +2314,7 @@ def get_output_parameters(
23142314
if (str_sym := str(sym)) != o.id
23152315
}
23162316

2317-
output_parameters = OrderedDict()
2317+
output_parameters = []
23182318

23192319
# filter out symbols that are defined in the model or mapped to
23202320
# such symbols
@@ -2334,9 +2334,9 @@ def get_output_parameters(
23342334
break
23352335
else:
23362336
# no mapping to a model entity, so it is an output parameter
2337-
output_parameters[candidate] = None
2337+
output_parameters.append(candidate)
23382338

2339-
return list(output_parameters.keys())
2339+
return output_parameters
23402340

23412341

23422342
class ModelFile(BaseModel):

0 commit comments

Comments
 (0)