We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 991910b commit bea1a08Copy full SHA for bea1a08
1 file changed
scripts/overview.py
@@ -48,9 +48,9 @@ def get_summary(
48
petab_problem.measurement_df.columns or
49
pd.isnull(petab_problem.measurement_df[
50
petab.PREEQUILIBRATION_CONDITION_ID]).all()
51
- else sum([cond is not np.nan for cond in
52
- petab_problem.measurement_df[
53
- petab.PREEQUILIBRATION_CONDITION_ID].unique()]),
+ else (pd.isnull(petab_problem.measurement_df[
+ petab.PREEQUILIBRATION_CONDITION_ID].unique() == False
+ ).sum(),
54
'postequilibration':
55
petab.measurements.get_simulation_conditions(
56
petab_problem.measurement_df[
0 commit comments