con / opfvta-reexecution

Container-based Replication of https://doi.org/10.1038/s41398-022-01812-5
Apache License 2.0
1 stars 1 forks source link

`make analysis-singularity` fails on typhon #34

Closed TheChymera closed 1 year ago

TheChymera commented 1 year ago
[typhon]~/docsrc/opfvta-replication-2023 ❱ make analysis-singularity
set -eu
Selected `SCRATCH_PATH` /home/chymera/.scratch. You may want to customize this by setting it on the command line, after the make command, i.e. `make SCRATCH_PATH=... target`.
mkdir -p /home/chymera/.scratch
singularity run \
        -B /home/chymera/docsrc/opfvta-replication-2023/inputs/opfvta_bidsdata:/usr/share/opfvta_bidsdata \
        -B /home/chymera/docsrc/opfvta-replication-2023/inputs/mouse-brain-templates/mouse-brain-templates:/usr/share/mouse_brain_atlases \
        -B /home/chymera/docsrc/opfvta-replication-2023/outputs/:/outputs \
        -B /home/chymera/.scratch:/scratch \
        -B /home/chymera/docsrc/opfvta-replication-2023/code/:/opt/src/ \
        --pwd /opt/src/ \
        code/images/opfvta-singularity/opfvta.sing \
        ./produce-analysis.sh
FATAL:   could not open image /home/chymera/docsrc/opfvta-replication-2023/code/images/opfvta-singularity/opfvta.sing: failed to retrieve path for /home/chymera/docsrc/opfvta-replication-2023/code/images/opfvta-singularity/opfvta.sing: lstat /home/chymera/docsrc/opfvta-replication-2023/code/images/opfvta-singularity/.git/annex/objects: no such file or directory
make: *** [Makefile:73: analysis-singularity] Error 255

Apparently it's having trouble getting the singularity image. Do we need to re-make this locally, or can this be fetched from somewhere? @asmacdo

asmacdo commented 1 year ago

As we discussed yesterday, datalad get code/images/opfvta-singularity won't get the files since that is a subdataset.

Instead

cd code/images/opfvta-singularity
git remote -v # should show opfvta-singularity repo on gin, NOT root repo
datalad get .
TheChymera commented 1 year ago

Solved following daa6fd1147bcd4f3862cb7de90990284cfcfe60e