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

Update to latest scipy functions, other input fixes #363

Merged
merged 6 commits into from
Jul 10, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ dependencies:
- scipy
- sphinx_rtd_theme
- treon
- wisdem
- wisdem >=3.16
4 changes: 2 additions & 2 deletions rosco/toolbox/inputs/validation.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import os
from wisdem.inputs import validate_with_defaults
from wisdem.inputs.validation import _validate

schema_dir = os.path.dirname(os.path.abspath(__file__))

def load_rosco_yaml(finput):
rosco_schema = os.path.join(schema_dir,'toolbox_schema.yaml')
return validate_with_defaults(finput, rosco_schema)
return _validate(finput, rosco_schema, defaults=True)


if __name__=='__main__':
Expand Down
Loading