POSYDON-code/POSYDON

BinaryStar.reset() fails after setting BinaryStar.properties

開放

#483 建立於 2025年1月16日

 (1 則留言) (0 個反應) (1 位負責人)Python (35 個分叉)auto 404
help wantedquestion

倉庫指標

星標
 (42 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

When recreating binary from a dataframe, reset() fails with the following error after setting sim_pop.

B = BinaryStar.from_df(example_binary)
B.to_df()
B.properties = sim_pop
B.reset()

It looks like a value is being set as a float that should have a history.

Removing B.properties = sim_pop allows reset to properly work. How should we approach this issue?

貢獻者指南