-
Notifications
You must be signed in to change notification settings - Fork 10
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
Ess adding in house functionalities #10
Conversation
Updates to url and contributing document
… ESS-adding-in-house-functionalities
I forgot about the linting. Will work on it and update this PR |
…com/SciCatProject/pyscicat into ESS-adding-in-house-functionalities
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.
Awesome stuff, thanks!
I added a couple of small comments.
Also, we should add unit tests for your new methods.
https://github.com/SciCatProject/pyscicat/blob/main/pyscicat/tests/test_client.py
There's not a ton of logic in there, but the requests mock code can at least verify that we're pointing to the correct URL and test what logic is in there.
Also, can you please look into adding documentation at https://github.com/SciCatProject/pyscicat/tree/main/docs/source? Maybe a couple of how to documents about getting proposals and instruments? I think the API calls you added will get auto generated, but we should check. |
I will look into the documentation |
@dylanmcreynolds : I'm going to test pyScicat in a use case. I will have the examples to insert in the documentation once I'm done with that. I think it will take few days. |
I'm happy to wait. Thanks! |
@dylanmcreynolds : I updated the documentation as you requested. |
@dylanmcreynolds : is it ok if we merge this PR and I work and include testing in a new PR? |
I would much prefer to add unit tests now. |
Thanks for the documentation! The way it is right now, your hard work is not yet viewable in the documentation. Check out this Line 17 in b901bac
We could either add your documents as an and entry in "How To", or make a new category in the TOC called "Examples" for this documentation. What do you think? BTW, this should be better documented, but to test the documentation build locally: If you have not done so yet in your environment, setup the dev requirements to get the sphinx build code:
Then:
This will build the web site locally into |
…n of documentation, updated example. Added packages in requirements to requirements-dev.
@dylanmcreynolds : I added our example under the "How-to" section.
I think that with this we addressed all the issues. |
Sorry, my instructions assumed that you had already run:
People tend treat requirements-dev.txt as "add-ons to the primary package". I'd rather not have dependencies repeeated in different files. Can you please remove this? |
No problem. Done!!! |
Yes, good idea: |
THis pull adds to the official main branch in the SciCat project the changes that we have implemented in-house at ESS.
The code is still a work in progress and needs mroe testing.