-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### Added - A new Escher binding independent of the original one [Escher-custom] - This integration is independent of the original and, therefore, does not have the same version conflicts. - A new Visualization option that displays cobra Objects as a Force Directed Graph - Introduced [Galata](https://github.com/jupyterlab/jupyterlab/tree/main/galata) as a new test suite - Galata automates the testing of visualization as it can compare reference images with outputs created in Jupyter Notebooks ### Changed - cobramod.pathway - The visualization function now includes the possibility to choose between different visualization options - Type checks - Reintroduced MyPy as Ruff does not check types according to [ruff's FAQ](https://docs.astral.sh/ruff/faq/#how-does-ruff-compare-to-mypy-or-pyright-or-pyre) - GitHub Actions - GitHub Actions now run tests on Windows and macOS once again - New workflow for the creation of Galata reference images - GitHub Action has been divided into smaller sections to provide a better overview of failed steps - Documentation - Now uses [Furo](https://github.com/pradyunsg/furo?tab=readme-ov-file) as a theme - Provides additional live examples of the new visualization options - Tests - Tests no longer check for specific database versions; this is only done in a controlled manner for the db_version module - Tests for visualization using Escher now use Escher-Custom - Several visualization tests were replaced by an equivalent test using Galata - environment.yml - Some dependencies now use their conda-forge package to reduce build time - 'sphinx-autoapi' was set to a dev version to be able to create the documentation using Python 3.12 - Maintenance - Several adjustments due to announced deprecations
- Loading branch information
1 parent
5c522f5
commit 735e802
Showing
58 changed files
with
15,698 additions
and
1,075 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# Based on the action of jupyterlab team https://raw.githubusercontent.com/jupyterlab/jupyterlab/main/.github/workflows/galata-update.yml | ||
name: Update Playwright Snapshots | ||
|
||
on: | ||
workflow_dispatch: | ||
issue_comment: | ||
types: [created, edited] | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
jobs: | ||
update-galata-snapshots: | ||
name: Update Galata References | ||
if: ${{ github.event.issue.pull_request && (contains(github.event.comment.body, 'please update galata snapshots') || contains(github.event.comment.body, 'please update snapshots')) }} | ||
timeout-minutes: 80 | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Configure git to use https | ||
run: git config --global hub.protocol https | ||
|
||
- name: Checkout the branch from the PR that triggered the job | ||
run: hub pr checkout ${{ github.event.issue.number }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Set up JS & build js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
|
||
- name: Install dependencies | ||
run: | | ||
yarn install | ||
- name: Build JS | ||
run: yarn run vite build | ||
|
||
- name: Install package | ||
run: pip install . | ||
|
||
- uses: jupyterlab/maintainer-tools/.github/actions/update-snapshots@v1 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
start_server_script: start | ||
server_url: http-get://localhost:8888/lab | ||
test_folder: ui-tests | ||
artifact_name: updated-galata-snapshots | ||
report_name: update-galata-report | ||
|
||
- name: Comment back on the PR | ||
run: | | ||
hub api repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/comments --raw-field 'body=Galata snapshots updated.' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
cff-version: 1.2.0 | ||
title: CobraMod | ||
message: >- | ||
If you use this software, please cite it as below. | ||
type: software | ||
authors: | ||
- given-names: Stefano | ||
family-names: Camborda La Cruz | ||
- given-names: Jan-Niklas | ||
family-names: Weder | ||
- given-names: Nadine | ||
family-names: Töpfer | ||
repository-code: 'https://github.com/Toepfer-Lab/cobramod' | ||
url: 'https://cobramod.readthedocs.io/en/latest/' | ||
license: GPL-3.0 | ||
preferred-citation: | ||
type: article | ||
authors: | ||
- given-names: Stefano | ||
family-names: Camborda La Cruz | ||
- given-names: Jan-Niklas | ||
family-names: Weder | ||
- given-names: Nadine | ||
family-names: Töpfer | ||
doi: "10.1093/bioinformatics/btac119" | ||
journal: "Bioinformatics" | ||
start: 2654 | ||
end: 2656 | ||
title: "CobraMod: a pathway-centric curation tool for constraint-based metabolic models" | ||
url: "https://doi.org/10.1093/bioinformatics/btac119" | ||
eprint: "https://academic.oup.com/bioinformatics/article-pdf/38/9/2654/43481008/btac119.pdf" | ||
volume: 38 | ||
number: 9 | ||
issn: "1367-4803" | ||
month: 02 | ||
year: 2022 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.