SeitaBV / timely-beliefs

Model data as beliefs (at a certain time) about events (at a certain time).
MIT License
34 stars 6 forks source link

[BUG] Recursive Error in cases where a BDF doesn't have a start and end simultaneously #169

Open victorgarcia98 opened 8 months ago

victorgarcia98 commented 8 months ago

Potential recursive error in case that the BeliefDataFrame doesn't have start and end. If start and end are not there, the following properties point to each other.

https://github.com/SeitaBV/timely-beliefs/blob/31f87c360764d70c481f60824fd630dfee8d8eb0/timely_beliefs/beliefs/classes.py#L1117-L1125

https://github.com/SeitaBV/timely-beliefs/blob/31f87c360764d70c481f60824fd630dfee8d8eb0/timely_beliefs/beliefs/classes.py#L1128-L1136