-
Notifications
You must be signed in to change notification settings - Fork 59
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
Yamale error validating data with schema for xscen conversion #1595
Comments
@Zeitsperre I don't think you meant to close the issue ? The error I am getting is not fixed by adding the dependence, or am it missing something ? |
@juliettelavoie My mistake! Yes, let's keep the issue open. |
@coxipi To answer your slack question, I get the same error with the master (not only with your branch). |
This issue was because of #1560. The package was used before only during the tests, that PR makes use of it each time a module is created. The full (dev) env file gets installed on the CI, so we didn't detect that it was missing from the actual requirements! And some yaml formats are missing from the tests and schema! |
<!--Please ensure the PR fulfills the following requirements! --> <!-- If this is your first PR, make sure to add your details to the AUTHORS.rst! --> ### Pull Request Checklist: - [x] This PR addresses an already opened issue (for bug fixes / features) - This PR fixes #1595 - [ ] Tests for the changes have been added (for bug fixes / features) - [x] (If applicable) Documentation has been added / updated (for bug fixes / features) - [x] CHANGES.rst has been updated (with summary of main changes) - [x] Link to issue (:issue:`number`) and pull request (:pull:`number`) has been added ### What kind of change does this PR introduce? * Allows "str" for indicator parameter "src_freq" * Allows "kind : int" for indicator parameter's parameters. ### Does this PR introduce a breaking change? No, it simply validates yaml definition that were supported before. ### Other information: I added a note to the module doc about "kind" and how it is meant to be used in a yaml.
Setup Information
more context:
I had an existing branch that worked well. I wanted to update xclim to @coxipi's branch
npdf_gpies
.Description
I used xscen.search_data_catalog to create
dtr
(using https://github.com/Ouranosinc/xscen/blob/main/xscen/xclim_modules/conversions.yml), but I got this error.Steps To Reproduce
Additional context
Not sure, why this pops up now ?
Contribution
Code of Conduct
The text was updated successfully, but these errors were encountered: