[RESOLVED] Create_study multiple sessions error

Description:

When using Qunex v0.90.6 as a Singularity container and running create_study via qunex_container, the command fails complaining that create_study is incompatible with gmri.

Call:

qunex_container create_study --studyfolder=/scratch.global/roedi004/data

Logs:

(base) roedi004@ln0004 [/scratch.global/roedi004] % qunex_container create_study --studyfolder=/scratch.global/roedi004/data
/home/wozniakj/roedi004/qunex/qunex_container:311: SyntaxWarning: "is" with a literal. Did you mean "=="?
  elif k is 'jobName' and jobname == 'schedule':
(base) roedi004@ln0004 [/scratch.global/roedi004] % --> unsetting all environment variables: PATH MATLABPATH PYTHONPATH QUNEXVer TOOLS QUNEXREPO QUNEXPATH QUNEXLIBRARY QUNEXLIBRARYETC TemplateFolder FSL_FIXDIR FREESURFERDIR FREESURFER_HOME FREESURFER_SCHEDULER FreeSurferSchedulerDIR WORKBENCHDIR DCMNIIDIR DICMNIIDIR MATLABDIR MATLABBINDIR OCTAVEDIR OCTAVEPKGDIR OCTAVEBINDIR RDIR HCPWBDIR AFNIDIR PYLIBDIR FSLDIR FSLGPUDIR PALMDIR QUNEXMCOMMAND HCPPIPEDIR CARET7DIR GRADUNWARPDIR HCPPIPEDIR_Templates HCPPIPEDIR_Bin HCPPIPEDIR_Config HCPPIPEDIR_PreFS HCPPIPEDIR_FS HCPPIPEDIR_PostFS HCPPIPEDIR_fMRISurf HCPPIPEDIR_fMRIVol HCPPIPEDIR_tfMRI HCPPIPEDIR_dMRI HCPPIPEDIR_dMRITract HCPPIPEDIR_Global HCPPIPEDIR_tfMRIAnalysis MSMBin HCPPIPEDIR_dMRITractFull HCPPIPEDIR_dMRILegacy AutoPtxFolder FSLGPUScripts FSLGPUBinary EDDYCUDADIR USEOCTAVE QUNEXENV CONDADIR MSMBINDIR MSMCONFIGDIR R_LIBS FSL_FIX_CIFTIRW
 
Generated by QuNex 
------------------------------------------------------------------------ 
Version: 0.90.6 
User: roedi004 
System: ln0004 
OS: RedHat Linux #1 SMP Wed Apr 28 21:49:45 UTC 2021 
------------------------------------------------------------------------ 
 
        ██████\                  ║      ██\   ██\                        
       ██  __██\                 ║      ███\  ██ |                       
       ██ /  ██ |██\   ██\       ║      ████\ ██ | ██████\ ██\   ██\     
       ██ |  ██ |██ |  ██ |      ║      ██ ██\██ |██  __██\\██\ ██  | 
       ██ |  ██ |██ |  ██ |      ║      ██ \████ |████████ |\████  /     
       ██ ██\██ |██ |  ██ |      ║      ██ |\███ |██   ____|██  ██\      
       \██████ / \██████  |      ║      ██ | \██ |\███████\██  /\██\     
        \___███\  \______/       ║      \__|  \__| \_______\__/  \__|    
            \___|                ║                                       
 
 
                       DEVELOPED & MAINTAINED BY: 
 
                    Anticevic Lab, Yale University 
               Mind & Brain Lab, University of Ljubljana 
                     Murray Lab, Yale University 
 
                      COPYRIGHT & LICENSE NOTICE: 
 
Use of this software is subject to the terms and conditions defined in 
'LICENSE.md' which is a part of the QuNex Suite source code package: 
https://bitbucket.org/oriadev/qunex/src/master/LICENSE.md 
 
 ---> Setting up Octave  

 ---> QuNex environment set successfully! 


 ........................ Running QuNex v0.90.6 ........................ 



--- Full QuNex call for command: create_study 

gmri create_study --studyfolder="/scratch.global/roedi004/data" --sessions="None" 

--------------------------------------------------------- 



ERROR in running create_study at gmri:
Incompatible command
Command create_study can not be run on multiple sessions!

The call received was: 
(please note that when run through scheduler, all possible parameters, 
even non relevant ones are passed) 

qunex create_study \
    --studyfolder=/scratch.global/roedi004/data \
    --sessions=None 

Please run `qunex ?create_study` to get help for the failed command.


Hi droedieger.

There was a minor bug in the qunex_container script which I now resolved. Please redownload the qunex_container script as written in the quick start and let me know if it now works.

Cheers, Jure

Thank you! It works fine now.