Skip to content

Commit

Permalink
debug non-numeric error for time column
Browse files Browse the repository at this point in the history
  • Loading branch information
jykr committed Aug 16, 2024
1 parent 2fdb440 commit c7b7f54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bean/preprocessing/data_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit c7b7f54

Please sign in to comment.