You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a Decapode has composed operators, it will successfully serialize in/ out of JSON. However, when an op1 is a vector of symbols (i.e. a composed operator), it will be parsed in as a Symbol("["d","d"]"), which is not the desired behavior.
This problem can be immediately resolved by calling expand_operators before write_json_acset, but a better solution would overload read_json_acset for the special case of a vector of symbols.
The text was updated successfully, but these errors were encountered:
When a Decapode has composed operators, it will successfully serialize in/ out of JSON. However, when an op1 is a vector of symbols (i.e. a composed operator), it will be parsed in as a Symbol("["d","d"]"), which is not the desired behavior.
This problem can be immediately resolved by calling
expand_operators
beforewrite_json_acset
, but a better solution would overloadread_json_acset
for the special case of a vector of symbols.The text was updated successfully, but these errors were encountered: