-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #311 from tobac-project/RC_v1.5.0
Merge `RC_v1.5.0` into `main`
- Loading branch information
Showing
69 changed files
with
100,438 additions
and
2,064 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,23 @@ | ||
name: Check Zenodo JSON Formatting | ||
on: [push, pull_request] | ||
jobs: | ||
check-json-formatting: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
shell: bash -el {0} | ||
steps: | ||
- name: check out repository code | ||
uses: actions/checkout@v3 | ||
- name: set up conda environment | ||
uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
auto-update-conda: true | ||
auto-activate-base: false | ||
activate-environment: checkjson-env | ||
- name: Install check-jsonschema | ||
run: | | ||
pip install check-jsonschema | ||
- name: Check zenodo JSON formatting | ||
run: | | ||
check-jsonschema --schemafile https://zenodraft.github.io/metadata-schema-zenodo/latest/schema.json .zenodo.json |
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,34 @@ | ||
name: Jupyter Notebooks CI | ||
on: [push, pull_request] | ||
jobs: | ||
Check-Notebooks: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
shell: bash -el {0} | ||
steps: | ||
- name: check out repository code | ||
uses: actions/checkout@v3 | ||
- name: set up conda environment | ||
uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
auto-update-conda: true | ||
auto-activate-base: false | ||
activate-environment: notebook-env | ||
- name: Install tobac dependencies | ||
run: | | ||
conda install -c conda-forge --yes ffmpeg gcc jupyter pytables | ||
conda install -c conda-forge --yes --file example_requirements.txt | ||
- name: Install tobac | ||
run: | | ||
pip install . | ||
- name: Find all notebook files | ||
run: | | ||
find . -type f -name '*.ipynb' > nbfiles.txt | ||
cat nbfiles.txt | ||
- name: Execute all notebook files | ||
run: | | ||
while IFS= read -r nbpath; do | ||
jupyter nbconvert --inplace --ClearMetadataPreprocessor.enabled=True --clear-output $nbpath | ||
jupyter nbconvert --to notebook --inplace --execute $nbpath | ||
done < nbfiles.txt |
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
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
.. | ||
Documentation of analysis functions | ||
TODO: include descriptions of the analysis functions and examples | ||
Analysis | ||
========= | ||
tobac provides several analysis functions that allow for the calculation of important quantities based on the tracking results. This includes the calculation of properties such as feature lifetimes and feature areas/volumes, but also allows for a convenient calculation of statistics for arbitrary fields of the same shape as as the input data used for the tracking analysis. | ||
|
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.