sccn / NEMAR-pipeline

5 stars 1 forks source link

ds003645/sub006 rotation issues (Scott) #72

Open arnodelorme opened 5 months ago

arnodelorme commented 5 months ago
dungscout96 commented 5 months ago
neuromechanist commented 5 months ago

Hi Dung,

You can use sccn/amica/runamica17_nsg.m to run efficiently on Expanse. You should use [batch, 1] in the input so that the job is submitted as a job. Other parameters seem to be ok and would not need any change.

Let me know how it goes.

P.S.: It seems that we are once again at the end of NSG allocation. I hope that you can submit new tasks.

arnodelorme commented 5 months ago

Too short for ICA would be if the number of samples is less than nchannel^2*20 samples.

neuromechanist commented 5 months ago

BTW, the amica bag code is available from:

sccn/amica/runamica17_nsg.m

dungscout96 commented 4 months ago

@neuromechanist the AMICA call ran yet seemed to exit with error. There's no output in the amicaout directory (see screenshot) and there's no message to indicate that the process finished in the log file (attached)

image

amica.30062187.txt

neuromechanist commented 4 months ago

Interesting, pinging @japalmer29 for potential insights about the error: forrtl: severe (66): output statement overflows record

japalmer29 commented 4 months ago

@dungscout96 Could you post the matlab command you used to run it?

dungscout96 commented 4 months ago

Thanks for helping @japalmer29! I ran the batch mode of https://github.com/sccn/amica/blob/e0db55f07c8c410641cd5b0df5498a5a53129ce6/runamica17_nsg.m#L849

japalmer29 commented 4 months ago

@dungscout96 could you post the runamica17_nsg(...) command with all the arguments?

dungscout96 commented 4 months ago

The exact command was runamica17_nsg(EEG, 'batch', 1)

neuromechanist commented 4 months ago

It seems that the problem is that runamica17_nsg does not return anything in batch mode. I just added a mirror return (EEG=dat) in https://github.com/sccn/amica/commit/3257aba6ff02b24b14da0fc727a4269cb8d201e9, so it returns dat (which, most of the case, is the EEG structure) in the batch mode as well.

However, to load data later, you should use EEG = eeg_loadamica(EEG, outdir, 1) for single model data.

dungscout96 commented 1 month ago

EEG=pop_chanedit(EEG, 'forcelocs',[],'transform',{'TMP = X; X = Y; Y = -TMP;'});

arnodelorme commented 2 weeks ago

Add HED to https://nemar.org/dataexplorer/detail?dataset_id=ds002718

Add new columns to NEMAR.json to disable ICA for that dataset