Skip to content

Commit

Permalink
Cleanup commit
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeByDrescher committed Nov 15, 2024
1 parent 8aa3780 commit 7a84f35
Show file tree
Hide file tree
Showing 19 changed files with 482 additions and 1,364 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ jobs:

- name: Compile the documentation
run: |
poetry run sphinx-apidoc . setup.py --output-dir docs-src/source --force --module-first --no-toc
poetry run sphinx-apidoc . pyproject.toml --output-dir docs-src/source --force --module-first --no-toc
mkdir -p docs-src/_static
poetry run sphinx-build docs-src docs
Expand Down Expand Up @@ -180,7 +180,7 @@ jobs:

- name: Compile the documentation
run: |
poetry run sphinx-apidoc . setup.py --output-dir docs-src/source --force --module-first --no-toc
poetry run sphinx-apidoc . pyproject.toml --output-dir docs-src/source --force --module-first --no-toc
mkdir -p docs-src/_static
poetry run sphinx-build docs-src docs
Expand Down
10 changes: 7 additions & 3 deletions biosimulators_test_suite/test_case/published_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,8 @@ class SyntheticCombineArchiveTestCase(TestCase):
EXEC_WITH_SINGULARITY = False
REPORT_ERROR_AS_SKIP = False

def __init__(self, id=None, name=None, description=None, output_medium=OutputMedium.console, published_projects_test_cases=None):
def __init__(self, id=None, name=None, description=None,
output_medium=OutputMedium.console, published_projects_test_cases=None):
"""
Args:
id (:obj:`str`, optional): id
Expand All @@ -514,7 +515,8 @@ def __init__(self, id=None, name=None, description=None, output_medium=OutputMed
published_projects_test_cases (:obj:`list` of :obj:`SimulatorCanExecutePublishedProject`, optional):
curated COMBINE/OMEX archives that can be used to generate example archives for testing
"""
super(SyntheticCombineArchiveTestCase, self).__init__(id=id, name=name, description=description, output_medium=output_medium)
super(SyntheticCombineArchiveTestCase, self).__init__(id=id, name=name, description=description,
output_medium=output_medium)
self.published_projects_test_cases = published_projects_test_cases or []
self._published_projects_test_case = None

Expand Down Expand Up @@ -570,6 +572,7 @@ def _eval(self, specifications, working_dirname, synthetic_archives_dir=None, dr

# read curated archives and find one that is suitable for testing
suitable_curated_archive = False
raise RuntimeError("--" + str([str(case.filename) for case in self.published_projects_test_cases]) + "--")
for published_projects_test_case in self.published_projects_test_cases:
self._published_projects_test_case = published_projects_test_case

Expand Down Expand Up @@ -604,7 +607,8 @@ def _eval(self, specifications, working_dirname, synthetic_archives_dir=None, dr
shutil.rmtree(shared_archive_dir)

if not suitable_curated_archive:
raise SkippedTestCaseException('No curated COMBINE/OMEX archives are available to generate archives for testing')
raise SkippedTestCaseException('No curated COMBINE/OMEX archives are available to '
f'generate archives for testing.\n[{self.published_projects_test_cases}]')

expected_results_of_synthetic_archives = self.build_synthetic_archives(
specifications, curated_archive, shared_archive_dir, curated_sed_docs)
Expand Down
1,227 changes: 0 additions & 1,227 deletions docs-src/_static/biosimulators-logo.svg

This file was deleted.

54 changes: 0 additions & 54 deletions docs-src/_static/css/biosimulators.css

This file was deleted.

12 changes: 6 additions & 6 deletions docs-src/source/biosimulators_test_suite.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,18 +66,18 @@ biosimulators\_test\_suite.exec\_gh\_action module
:undoc-members:
:show-inheritance:

biosimulators\_test\_suite.utils module
---------------------------------------
biosimulators\_test\_suite.test\_warnings module
------------------------------------------------

.. automodule:: biosimulators_test_suite.utils
.. automodule:: biosimulators_test_suite.test_warnings
:members:
:undoc-members:
:show-inheritance:

biosimulators\_test\_suite.warnings module
------------------------------------------
biosimulators\_test\_suite.utils module
---------------------------------------

.. automodule:: biosimulators_test_suite.warnings
.. automodule:: biosimulators_test_suite.utils
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs-src/source/setup.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
setup module
============

.. automodule:: setup
:members:
:undoc-members:
:show-inheritance:
8 changes: 1 addition & 7 deletions docs/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,8 @@








<img src="_static/biosimulators-logo.svg" class="logo__image only-light" alt="BioSimulators test suite 0.2 documentation - Home"/>
<script>document.write(`<img src="_static/biosimulators-logo.svg" class="logo__image only-dark" alt="BioSimulators test suite 0.2 documentation - Home"/>`);</script>

<p class="title logo__title">BioSimulators test suite 0.2 documentation</p>

</a></div>

Expand Down
8 changes: 1 addition & 7 deletions docs/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,8 @@








<img src="_static/biosimulators-logo.svg" class="logo__image only-light" alt="BioSimulators test suite 0.2 documentation - Home"/>
<script>document.write(`<img src="_static/biosimulators-logo.svg" class="logo__image only-dark" alt="BioSimulators test suite 0.2 documentation - Home"/>`);</script>

<p class="title logo__title">BioSimulators test suite 0.2 documentation</p>

</a></div>

Expand Down
8 changes: 1 addition & 7 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,8 @@








<img src="_static/biosimulators-logo.svg" class="logo__image only-light" alt="BioSimulators test suite 0.2 documentation - Home"/>
<script>document.write(`<img src="_static/biosimulators-logo.svg" class="logo__image only-dark" alt="BioSimulators test suite 0.2 documentation - Home"/>`);</script>

<p class="title logo__title">BioSimulators test suite 0.2 documentation</p>

</a></div>

Expand Down
8 changes: 1 addition & 7 deletions docs/installation.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,8 @@








<img src="_static/biosimulators-logo.svg" class="logo__image only-light" alt="BioSimulators test suite 0.2 documentation - Home"/>
<script>document.write(`<img src="_static/biosimulators-logo.svg" class="logo__image only-dark" alt="BioSimulators test suite 0.2 documentation - Home"/>`);</script>

<p class="title logo__title">BioSimulators test suite 0.2 documentation</p>

</a></div>

Expand Down
8 changes: 1 addition & 7 deletions docs/py-modindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,8 @@








<img src="_static/biosimulators-logo.svg" class="logo__image only-light" alt="BioSimulators test suite 0.2 documentation - Home"/>
<script>document.write(`<img src="_static/biosimulators-logo.svg" class="logo__image only-dark" alt="BioSimulators test suite 0.2 documentation - Home"/>`);</script>

<p class="title logo__title">BioSimulators test suite 0.2 documentation</p>

</a></div>

Expand Down
8 changes: 1 addition & 7 deletions docs/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,8 @@








<img src="_static/biosimulators-logo.svg" class="logo__image only-light" alt="BioSimulators test suite 0.2 documentation - Home"/>
<script>document.write(`<img src="_static/biosimulators-logo.svg" class="logo__image only-dark" alt="BioSimulators test suite 0.2 documentation - Home"/>`);</script>

<p class="title logo__title">BioSimulators test suite 0.2 documentation</p>

</a></div>

Expand Down
2 changes: 1 addition & 1 deletion docs/searchindex.js

Large diffs are not rendered by default.

8 changes: 1 addition & 7 deletions docs/source/biosimulators_test_suite.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,8 @@








<img src="../_static/biosimulators-logo.svg" class="logo__image only-light" alt="BioSimulators test suite 0.2 documentation - Home"/>
<script>document.write(`<img src="../_static/biosimulators-logo.svg" class="logo__image only-dark" alt="BioSimulators test suite 0.2 documentation - Home"/>`);</script>

<p class="title logo__title">BioSimulators test suite 0.2 documentation</p>

</a></div>

Expand Down
8 changes: 1 addition & 7 deletions docs/source/biosimulators_test_suite.results.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,8 @@








<img src="../_static/biosimulators-logo.svg" class="logo__image only-light" alt="BioSimulators test suite 0.2 documentation - Home"/>
<script>document.write(`<img src="../_static/biosimulators-logo.svg" class="logo__image only-dark" alt="BioSimulators test suite 0.2 documentation - Home"/>`);</script>

<p class="title logo__title">BioSimulators test suite 0.2 documentation</p>

</a></div>

Expand Down
8 changes: 1 addition & 7 deletions docs/source/biosimulators_test_suite.test_case.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,8 @@








<img src="../_static/biosimulators-logo.svg" class="logo__image only-light" alt="BioSimulators test suite 0.2 documentation - Home"/>
<script>document.write(`<img src="../_static/biosimulators-logo.svg" class="logo__image only-dark" alt="BioSimulators test suite 0.2 documentation - Home"/>`);</script>

<p class="title logo__title">BioSimulators test suite 0.2 documentation</p>

</a></div>

Expand Down
Loading

0 comments on commit 7a84f35

Please sign in to comment.