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

✨ Porting case studies from pyglotaran-examples 🧪 #1425

Draft
wants to merge 15 commits into
base: staging
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
84 changes: 0 additions & 84 deletions .github/workflows/full_benchmark.yml

This file was deleted.

19 changes: 14 additions & 5 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,23 @@ jobs:
steps:
- name: Set example list output
id: create-example-list
uses: glotaran/pyglotaran-examples@main
with:
example_name: set example list
set_example_list: true
shell: python
run: |
import json
import os
from pathlib import Path

example_names=["fluorescence", "transient_absorption", "transient_absorption_two_datasets", "spectral_constraints", "spectral_guidance"]
gh_output = Path(os.getenv("GITHUB_OUTPUT", ""))
with gh_output.open("a", encoding="utf8") as f:
f.writelines([f"example-list={json.dumps(example_names)}"])

run-examples:
name: "Run Example: "
runs-on: ubuntu-latest
needs: [create-example-list]
strategy:
fail-fast: false
matrix:
example_name: ${{fromJson(needs.create-example-list.outputs.example-list)}}
steps:
Expand All @@ -41,11 +48,13 @@ jobs:
pip install wheel
pip install -r requirements_pinned.txt
pip install .
pip install git+https://github.com/glotaran/pyglotaran-extras.git@staging_support
- name: ${{ matrix.example_name }}
id: example-run
uses: glotaran/pyglotaran-examples@main
uses: s-weigand/pyglotaran-examples@main
with:
example_name: ${{ matrix.example_name }}
examples_branch: port-examples
- name: Installed packages
if: always()
run: |
Expand Down
119 changes: 0 additions & 119 deletions .github/workflows/pr_benchmark.yml

This file was deleted.

97 changes: 0 additions & 97 deletions .github/workflows/pr_benchmark_reaction.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -189,3 +189,6 @@ comparison-results-current
docs/source/notebooks/quickstart/quickstart_project/data
docs/source/notebooks/quickstart/quickstart_project/results
docs/source/notebooks/quickstart/quickstart_project/project.gta

# Auto generated autocompletions files
examples/case_studies/*/schema*.json
5 changes: 5 additions & 0 deletions examples/case_studies/00-template/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Template

Template for new case studies.

WIP
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
plain readable files or *.nc
Loading
Loading