You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting "TypeError: Object of type int64 is not JSON serializable". I think this is because numpy 2 saves e.g. integers and float as special types that are not directly convertible to JSON. To get it to work, I had to adjust the asdict() method to use .item() to convert two of the values:
When printing the output of the HmmRun class, using
asjson()
, here:sc2ts/sc2ts/cli.py
Line 761 in 89421fb
I'm getting "TypeError: Object of type int64 is not JSON serializable". I think this is because numpy 2 saves e.g. integers and float as special types that are not directly convertible to JSON. To get it to work, I had to adjust the
asdict()
method to use.item()
to convert two of the values:The text was updated successfully, but these errors were encountered: