![local by flywheel debug local by flywheel debug](https://i.stack.imgur.com/s0IG5.png)
From there, you should be able to debug whichever tests you desire. Your home directory/.config/flywheel/user.json should point to /root/.config/flywheel/user.json in the container. Edit the configurations (top toolbar by debugging) to have the API key made available to the docker image. Add the interpreter, making note of the python path (by dropping in the container and which python).
![local by flywheel debug local by flywheel debug](https://winningwp.com/wp-content/uploads/2018/11/Flywheel-Local-01-768x530.png)
If you are using P圜harm as your IDE, you can build the docker image as above. tests/bin/docker-test.sh -B -s # "-B" prevents building, "-s" run the shell If you want to drop into the container:.Build the test container and run the tests.Run the export script python /code/export_bids.py \ source-data Include sourcedata in BIDS export p, -project string The label of the project to export The export script (export_bids.py) takes a curated dataset within Flywheel and downloads it to local disk. docker/curate.sh \įlags: -reset Reset BIDS data before running The git repo for the gear is here: Docker Script The BIDS Curation step (curate_bids.py) has been transformed into a gear for better usability. bids-dir /path/to/BIDS/dir/in/container \ Run the upload script python /code/upload_bids.py \ The upload script has been integrated into the flywheel cli as fw import bids Ī docker script has been provided to simplify the below process.Īn optional project flag can also be given if the given BIDS directory is not at the project level. The upload script (upload_bids.py) takes a BIDS dataset and uploads it to Flywheel. The following command will build the docker image containing all BIDS Client components. Below is more information about each of the components.