We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c44efe commit a60ccc7Copy full SHA for a60ccc7
petab/visualize/data_overview.py
@@ -61,13 +61,14 @@ def get_data_per_observable(measurement_df: pd.DataFrame) -> pd.DataFrame:
61
"""
62
63
my_measurements = measurement_df.copy()
64
- my_measurements[PREEQUILIBRATION_CONDITION_ID] = my_measurements[
65
- PREEQUILIBRATION_CONDITION_ID
66
- ].astype("object")
67
68
index = [SIMULATION_CONDITION_ID]
69
if PREEQUILIBRATION_CONDITION_ID in my_measurements:
70
- my_measurements[PREEQUILIBRATION_CONDITION_ID].fillna("", inplace=True)
+ my_measurements[PREEQUILIBRATION_CONDITION_ID] = (
+ my_measurements[PREEQUILIBRATION_CONDITION_ID]
+ .astype("object")
+ .fillna("", inplace=True)
71
+ )
72
index.append(PREEQUILIBRATION_CONDITION_ID)
73
74
data_per_observable = pd.pivot_table(
0 commit comments