We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 127492f commit df444bbCopy full SHA for df444bb
1 file changed
petab/v2/petab1to2.py
@@ -523,6 +523,17 @@ def update_prior(row):
523
errors="ignore",
524
)
525
# some columns were dropped in PEtab v2
526
+ if df[v1.C.INITIALIZATION_PRIOR_TYPE].notna():
527
+ warnings.warn(
528
+ "Initialisation priors in parameter table are not supported "
529
+ "in PEtab v2.",
530
+ stacklevel=9,
531
+ )
532
+ if not (df[v1.C.PARAMETER_SCALE] == v1.C.LIN).all():
533
534
+ "Parameter scales are not supported in PEtab v2.",
535
536
537
df.drop(
538
columns=[
539
v1.C.INITIALIZATION_PRIOR_TYPE,
0 commit comments