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
{{ message }}
This repository was archived by the owner on Sep 11, 2024. It is now read-only.
This applies to mesh_qad_pseudo.py's data method and any other methods that call literal_eval
consider changing
literal_eval(key) to
literal_eval(key) if not isinstance(key, int) else key
There is some underlying assumption that dictionary keys of mesh elements will necessarily be strings in many of compas_singular's methods
Perhaps this is because of the way datastructures are serialised in earlier versions of COMPAS, which stringify all keys as json.dump tends to do...
However, this causes issues when the keys are already integers.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This applies to mesh_qad_pseudo.py's data method and any other methods that call literal_eval
consider changing
literal_eval(key)
to
literal_eval(key) if not isinstance(key, int) else key
There is some underlying assumption that dictionary keys of mesh elements will necessarily be strings in many of compas_singular's methods
Perhaps this is because of the way datastructures are serialised in earlier versions of COMPAS, which stringify all keys as json.dump tends to do...
However, this causes issues when the keys are already integers.
The text was updated successfully, but these errors were encountered: