AlgebraicJulia / AlgebraicJulia/DiagrammaticEquations.jl

Expand operators before writing JSON

Aperta
#25 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Julia
Stelle
20
Fork
4
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.