POSYDON-code/POSYDON

BinaryStar.reset() fails after setting BinaryStar.properties

オープン

#483 opened on 2025/01/16

 (1 件のコメント) (0 件のリアクション) (1 人の担当者)Python (35 件のフォーク)auto 404
help wantedquestion

Repository metrics

Stars
 (42 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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?

コントリビューターガイド