ReproNim / reproman

ReproMan (AKA NICEMAN, AKA ReproNim TRD3)
https://reproman.readthedocs.io
Other
24 stars 14 forks source link

ensure presence/usability of fake-fmriprep-1 #593

Open yarikoptic opened 1 year ago

yarikoptic commented 1 year ago

@djarecka is working on creating a bids-app which fakes fmriprep. Please follow up with @djarecka on progress and see if she needs any help.

djarecka commented 1 year ago

I've created the repository: https://github.com/djarecka/fmriprep-fake and added a GA workflow to build and push to my DockerHub: https://hub.docker.com/r/djarecka/fmriprep_fake I'm happy to move it somewhere after feedback.

I tested this with Singularity with pulling the docker image

yarikoptic commented 1 year ago

cool, seems it worked on my simple example:

  datalad install ///openneuro/ds000001
  docker run -it -v $PWD:$PWD djarecka/fmriprep_fake /tmp/ds000001 /tmp/ds000001-out participant --participant-label 01
yarikoptic commented 1 year ago

now we would need to add it to the mighty bids-apps registry, I submitted a PR: https://github.com/bids-apps/bids-apps.github.io/pull/105 . If you like to find a new home for it djarecka -- let me know but I am ok with it where it is.

yarikoptic commented 1 year ago

but please push a 0.1.0 or so docker tag (and tag in the repo I guess), otherwise even if becomes present in the docker hub registry, it would not be added to the mighty ///repronim/containers collection

djarecka commented 1 year ago

ok, added the tag!

thank you for creating the PR, wasn't sure if that should be in the official apps. I could perhaps add tests that checks the layout of the output. It doesn't do anything else