Mriqc- offline execution still an option?

Hi,
We are using singularity version 0.15.2

We would rather to run this offline.
There used to be a flag for running with no connection to the internet.
I’m aware of --no-sub etc. but looking for a flag for offline execution- it seems that the version redundantly searching for updates and downloads the same templates in each execution.
Is this solved in consecutive versions?

We don’t want it to try this each time:
210202-08:25:21,431 nipype.utils WARNING:
** Could not check for version updates: **
Connection to server could not be made
210202-08:25:23,685 nipype.utils WARNING:
** Could not check for version updates: **
Connection to server could not be made

The following happens in each execution: (redundnat)

Downloading https://templateflow.s3.amazonaws.com/tpl-MNI152NLin2009cAsym/tpl-MNI152NLin2009cAsym_res-02_desc-fMRIPrep_boldref.nii.gz
**1.71kB [04:59, 5.72B/s] **
Downloading https://templateflow.s3.amazonaws.com/tpl-MNI152NLin2009cAsym/tpl-MNI152NLin2009cAsym_res-02_desc-brain_mask.nii.gz
**29.0B [00:00, 39.2B/s] **
Downloading https://templateflow.s3.amazonaws.com/tpl-MNI152NLin2009cAsym/tpl-MNI152NLin2009cAsym_res-01_desc-carpet_dseg.nii.gz

Following these downloads- there are additional attempts to connect:
Connection to server could not be made
210202-09:20:22,382 nipype.utils WARNING:
Could not check for version updates:
Connection to server could not be made
210202-09:20:25,600 nipype.utils WARNING:
Could not check for version updates:
Connection to server could not be made

@effigies
@emdupre

Many thanks!

Setting the NO_ET flag will disable etelemetry from the library nipype uses to alert users to bad versions. You may need to set the variable as SINGULARITY_NO_ET=1 to ensure singularity passes it through to MRIQC.

For templateflow, could you see if the notes in fMRIPrep docs get you where you need to go?

https://fmriprep.org/en/stable/singularity.html#templateflow-and-singularity

1 Like

Many thanks!

Tiny correction-
SINGULARITYENV_NO_ET=1