If a state variable, with the datatype "string" has no default value (in the XML default =""). The pyx can't be generated.
Can be fixed in "src/pycropml/render_cyml.py", in function default_value(inp) :
- Add :
elif type_ == "STRING": return "''" (line 480)
If a state variable, with the datatype "string" has no default value (in the XML default =""). The pyx can't be generated.
Can be fixed in "src/pycropml/render_cyml.py", in function default_value(inp) :
elif type_ == "STRING": return "''" (line 480)