Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when nifti func file does not have enough timepoints #54

Open
HanadS opened this issue Apr 4, 2020 · 0 comments
Open

error when nifti func file does not have enough timepoints #54

HanadS opened this issue Apr 4, 2020 · 0 comments

Comments

@HanadS
Copy link
Collaborator

HanadS commented Apr 4, 2020

Replicating clusters in data #1: 8%|█████████▉ | 3/40 [08:07<1:40:08, 162.39s/it]Traceback (most recent call last):
File "dypac_movie.py", line 44, in
model.fit(func,confounds=conf)
File "/data/cisl/hanads/neuromod_dypac/dypac/dypac/dypac.py", line 266, in fit
stab_maps, dwell_time = self._mask_and_reduce_batch(imgs, confounds)
File "/data/cisl/hanads/neuromod_dypac/dypac/dypac/dypac.py", line 282, in _mask_and_reduce_batch
stab_maps, dwell_time = self._mask_and_reduce(imgs[slice_batch], confounds[slice_batch])
File "/data/cisl/hanads/neuromod_dypac/dypac/dypac/dypac.py", line 334, in _mask_and_reduce
verbose=self.verbose,
File "/data/cisl/hanads/neuromod_dypac/dypac/dypac/bascpp.py", line 118, in replicate_clusters
samp = _select_subsample(y, subsample_size, list_start[rr])
IndexError: index 3 is out of bounds for axis 0 with size 3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant