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
The following round-trip serialization has an error when reading the data back in. The error is ERROR: MethodError: no method matching Union{Missing, String}(::String).
using Catlab
@presentSimpleSch(FreeSchema) begin
X::Ob
Attr1::AttrType
attr::Attr(X,Attr1)
end@acset_typeSimpleData(SimpleSch)
simple_data =@acset SimpleData{Union{String,Missing}} begin
X=3
attr=["a",missing,"c"]
endwrite_json_acset_schema(SimpleSch, "./simplesch.json")
write_json_acset(simple_data, "./simpledata.json")
SimpleSch1 =read_json_acset_schema("./simplesch.json")
@acset_typeSimpleData1(SimpleSch1)
simple_data1 =read_json_acset(SimpleData1{Union{String,Missing}}, "./simpledata.json")
The following round-trip serialization has an error when reading the data back in. The error is
ERROR: MethodError: no method matching Union{Missing, String}(::String)
.On versions
The text was updated successfully, but these errors were encountered: