ClandininLab / brainsss2

refactor of the brainsss repo for 2-photon imaging analysis
MIT License
0 stars 0 forks source link

PCA_moco missing 'datafile' arg? #32

Closed bellabrez closed 2 years ago

bellabrez commented 2 years ago

In preprocess.py when the workflow_dics are getting built I don't see how 'PCA_moco' gets 'datafile'? It is directly defined here for 'PCA_resid'. It is not in the settins.json and I don't see how dimensionality_reduction.py would resolve not having that arg.

poldrack commented 2 years ago

a default is specified in brainsss2.argparse_utils.add_dr_args:

parser.add_argument('--datafile', type=str,
        default='preproc/functional_channel_2_moco_smooth-2.0mu.h5',
        help='func data file subpath (defaults to  preproc/functional_channel_2_moco_smooth-2.0mu.h5')