Skip to content

Command line / entry point for the visualize module #4

Command line / entry point for the visualize module

Command line / entry point for the visualize module #4

name: nidm_examples parsed to bids-prov from spm and fsl parser
on:
push:
paths:
- 'context.json'
- 'bids_prov/**'
- 'examples/from_parsers/**'
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setup Python
uses: actions/setup-python@master
with:
python-version: 3.10.6
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install -r dev-requirements.txt
sudo apt-get install graphviz
- name: SPM/FSL/AFNI parsing on nidm-examples
run: |
./fetch_nidmresults-examples
./launch_parser_on_nidm.py --input_dir nidmresults-examples --output_dir examples/from_parsers
- name: push on the repo the dir "examples/from_parsers"
run: |
git config user.name "GitHub Actions Bot"
git config user.email "<>"
git add examples/from_parsers
git commit -m "automated nidm example computation from github action "
git push