reproman icon indicating copy to clipboard operation
reproman copied to clipboard

ensure presence/usability of fake-fmriprep-1

Open yarikoptic opened this issue 2 years ago • 5 comments

@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.

  • PR should be submitted for its inclusion to https://github.com/bids-apps/bids-apps.github.io/pulls.
  • Ultimately it should appear among https://bids-apps.neuroimaging.io/apps/
  • And then cron job should make it present on https://github.com/ReproNim/containers

yarikoptic avatar Jan 20 '23 14:01 yarikoptic

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

djarecka avatar Feb 14 '23 03:02 djarecka

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 avatar Feb 16 '23 20:02 yarikoptic

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 avatar Feb 16 '23 20:02 yarikoptic

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

yarikoptic avatar Feb 16 '23 20:02 yarikoptic

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

djarecka avatar Feb 17 '23 03:02 djarecka