-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
When running cooltools with python3.12 and updated pandas, I get:
/Users/thomas/alabtools/.venv/lib/python3.11/site-packages/cooltools/api/saddle.py:446: FutureWarning: Series.getitem treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use ser.iloc[pos]
type(digitized_track.dtypes[3])
/Users/thomas/alabtools/.venv/lib/python3.11/site-packages/cooltools/api/saddle.py:92: RuntimeWarning: invalid value encountered in divide
return obs_mat / exp_mat
It's probably worth add a _safe_divide and changing this for future pandas compatability.
Metadata
Metadata
Assignees
Labels
No labels