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

Added test of turbine schema and fixed issues #70

Merged
merged 1 commit into from
Nov 28, 2024
Merged

Conversation

kenloen
Copy link
Collaborator

@kenloen kenloen commented Nov 25, 2024

I have added a rather strict test of the turbine schema it self, by not allowing entries to be set outside of the schema it self.

It is also testing if entries in the required and optional list are in properties. Fx. I found that for the monopile it had required outer_shape_bem but its property was outer_shape. I have not changed that to be outer_shape_bem for the monopile.

units is not a part of the standard schema, but I have manually added it to the schema - although only verifying that it is a string. There was also a mix of units and unit where I have changed all to be units.

Copy link
Collaborator

@ptrbortolotti ptrbortolotti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's a welcome addition!

@kenloen
Copy link
Collaborator Author

kenloen commented Nov 27, 2024 via email

@fzahle fzahle merged commit 3e039f4 into main Nov 28, 2024
12 checks passed
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.

3 participants