diff --git a/bean/preprocessing/data_class.py b/bean/preprocessing/data_class.py index 3e6f2f7..85501b6 100755 --- a/bean/preprocessing/data_class.py +++ b/bean/preprocessing/data_class.py @@ -996,7 +996,7 @@ def __init__( def _pre_init(self, time_column: str, condition_column: str): self.condition_column = self.time_column = time_column try: - max_time = self.screen.samples[time_column].max() + max_time = self.screen.samples[time_column].astype(float).max() self.screen.samples[time_column] = self.screen.samples[time_column].astype( float )