Running heudiconv on singularity

Hi,

I’m trying to run heudiconv on Singularity, after successfully running it on docker (my PC has docker, the cluster I’m trying to work with has Singularity).

My docker command was:

DICOMBASE=/MyDir/Dicoms
NIFTIBASE=/MyDir/BIDS
HRSTCBASE=/MyPy
docker run --rm -it -v $DICOMBASE:/dcmbase -v $NIFTIBASE:/niibase -v
$HRSTCBASE:/hrsbase nipy/heudiconv:latest
-d /dcmbase/{subject}/*/* -o /niibase -f /hrsbase/heuristic.py
-s JoDo -c dcm2niix -b --overwrite

That worked.
On the cluster, I already run

singularity pull docker://nipy/heudiconv:latest

and created:
heudiconv_latest.sif*

Now trying:

singularity run
-B /MyHome:/home -B /MyDir:/hpc -B /MyPy:/py
/home/heudiconv_latest.sif
-d /hpc/Dicoms/{subject}/*/*
-s JoDo
–ses 001
-f /py/heuristic.py
-c dcm2niix -b
-o /hpc/BIDS

Here I’m getting:

singularity: No match.

Any ideas??
Thanks…