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?

贡献者指南