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

Add detailed docstrings and usage examples to Ersilia'a publish module and few update on the test module #1443

Merged

Conversation

Abellegese
Copy link
Contributor

Thank you for taking your time to contribute to Ersilia, just a few checks before we proceed

  • Have you followed the guidelines in our Contribution Guide
  • Have you written new tests for your core changes, as applicable?
  • Have you successfully ran tests with your changes locally?

Description

  • This PR improves the documentation of several publish module files by adding detailed docstrings, summaries, and usage examples to public functions.

Specifically on the test.py file

  • Update the function that checks single input now to check output file produced by the run command.
  • Update the function that checks sample generated examples now to check the content on the test module.
  • Add a feature to warn user to install dependencies needed to run the test command.

Related to #1423

Abellegese and others added 14 commits December 13, 2024 15:23
* Merge sample command with the example command

* Fix example command usage
* Modify header calculation to choose from predefined example output file or standard example output file

* Remove the readiness function from SCRA because it is redundant, since those checks are also performed by the amenable function

* Remove unused method

* Make csv serialization work for any kind of model api response

* Remove the standard flag from the CLI since it is now the default run

* Update tests
@DhanshreeA
Copy link
Contributor

@Abellegese can you look into the failing workflows?

@Abellegese
Copy link
Contributor Author

Yep I am taking a look. Will fix it @DhanshreeA

@Abellegese
Copy link
Contributor Author

Nothing appears failing so far.

@Abellegese Abellegese changed the title Refactor/docstring module publishAdd detailed docstrings and usage examples to Ersilia'a publish module and few update on the test module Add detailed docstrings and usage examples to Ersilia'a publish module and few update on the test module Dec 16, 2024
@DhanshreeA DhanshreeA merged commit ef369d6 into ersilia-os:master Dec 16, 2024
24 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.

2 participants