Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bottom type can be a number only #46

Closed
wants to merge 1 commit into from

Conversation

DonSqualo
Copy link
Contributor

also getattr doesn't work for me

also getattr doesn't work for me
@rickwierenga
Copy link
Member

In which case would bottom_type not be of type WellBottomType? I think that's the underlying issue.

@DonSqualo
Copy link
Contributor Author

My generated json save file contains entries that say bottom_type: 1
If I try importing them without this fix I get an error
image

@rickwierenga
Copy link
Member

This was actually an issue with the deserializer/initializer. Fixed with 6dbff8d. (the raw value in the JSON doesn't really matter, but made it a string for clarity)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants