sorgerlab / indra

INDRA (Integrated Network and Dynamical Reasoning Assembler) is an automated model assembly system interfacing with NLP systems and databases to collect knowledge, and through a process of assembly, produce causal graphs and dynamical models.
http://indra.bio
BSD 2-Clause "Simplified" License
177 stars 68 forks source link

Handle Statement deserialization error #1341

Closed dianakolusheva closed 3 years ago

dianakolusheva commented 3 years ago

This PR replaces the .copy method with copy function in Evidence._from_json() to handle a deserialization error when one of the properties is set to None. A relevant test is added.