-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
another cpu generated pipeline added, tests reorganisation, a new CI …
…for pipelines
- Loading branch information
Showing
10 changed files
with
610 additions
and
702 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
2 changes: 1 addition & 1 deletion
2
.github/workflows/run_tests_iris.yml → ...ub/workflows/run_tests_framework_iris.yml
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: HTTomo tests | ||
name: HTTomo framework tests | ||
|
||
on: | ||
pull_request: | ||
|
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,52 @@ | ||
name: HTTomo pipelines tests | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
iris-gpu: | ||
runs-on: iris-gpu | ||
container: | ||
image: nvidia/cuda:12.6.3-devel-ubi8 | ||
env: | ||
NVIDIA_VISIBLE_DEVICES: ${{ env.NVIDIA_VISIBLE_DEVICES }} | ||
|
||
defaults: | ||
run: | ||
shell: bash -l {0} | ||
|
||
steps: | ||
- name: Checkout repository code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Create conda environment | ||
uses: mamba-org/setup-micromamba@v1 | ||
with: | ||
environment-file: conda/environment.yml | ||
environment-name: httomo | ||
post-cleanup: 'all' | ||
init-shell: bash | ||
|
||
- name: Install httomo libraries, httomo-backends and httomo | ||
run: | | ||
micromamba activate httomo | ||
pip install --upgrade --force-reinstall pillow | ||
pip install httomolibgpu tomobar | ||
pip install --no-deps httomo-backends | ||
pip install . | ||
micromamba list | ||
- name: Generate full yaml pipelines using pipeline directives | ||
run: | | ||
pip install "ruamel.yaml>0.18.0" | ||
python ./docs/source/scripts/yaml_pipelines_generator.py -i ./docs/source/pipelines_full/gpu_pipeline1_directive.yaml -o ./docs/source/pipelines_full/gpu_pipeline1.yaml | ||
python ./docs/source/scripts/yaml_pipelines_generator.py -i ./docs/source/pipelines_full/cpu_pipeline1_directive.yaml -o ./docs/source/pipelines_full/cpu_pipeline1.yaml | ||
- name: Run HTTomo pipelines tests (small data) | ||
run: | | ||
pytest tests/test_pipeline_small.py --pipeline_small |
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,18 @@ | ||
- method: standard_tomo | ||
module_path: httomo.data.hdf.loaders | ||
- method: find_center_vo | ||
module_path: tomopy.recon.rotation | ||
- method: remove_outlier | ||
module_path: tomopy.misc.corr | ||
- method: normalize | ||
module_path: tomopy.prep.normalize | ||
- method: minus_log | ||
module_path: tomopy.prep.normalize | ||
- method: recon | ||
module_path: tomopy.recon.algorithm | ||
- method: calculate_stats | ||
module_path: httomo.methods | ||
- method: rescale_to_int | ||
module_path: httomolibgpu.misc.rescale | ||
- method: save_to_images | ||
module_path: httomolib.misc.images |
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
Oops, something went wrong.