-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add create_outputs
and results
output
#42
Conversation
The new output will be a JSON object of JSON objects. The outer objects' keys represent the base URL, it can either be: - `"unversioned"` - `"vMAJOR"` - `"vMAJOR.MINOR"` - `"vMAJOR.MINOR.PATCH"` where MAJOR, MINOR, and PATCH represent the current OPTIMADE API version. New tests to make sure the `-j/--json` option is used when `create_outputs` is `True`. New CI tests to make sure the output `results` is correctly created, with the correct content depending on the base URLs checked.
7398134
to
cb1dc14
Compare
e3236fc
to
3d2b0af
Compare
dad2600
to
1e511fa
Compare
create_outputs
and results
outputcreate_outputs
and results
output
Edit: All done. |
create_outputs
and results
outputcreate_outputs
and results
output
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work @CasperWA, looks really useful. Just some minor comments below:
Co-authored-by: Matthew Evans <7916000+ml-evs@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking good now, thanks @CasperWA
Closes #41.
The new output will be a JSON object of JSON objects.
The outer objects' keys represent the base URL, it can either be:
"unversioned"
"vMAJOR"
"vMAJOR.MINOR"
"vMAJOR.MINOR.PATCH"
where MAJOR, MINOR, and PATCH represent the current OPTIMADE API version.
New tests to make sure the
-j/--json
option is used whencreate_outputs
isTrue
.New CI tests to make sure the output
results
is correctly created, with the correct content depending on the base URLs checked.