Skip to content

Commit

Permalink
bug fix: seed_maps_list is processed only if at least 1 index if found.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gab-D-G committed Feb 17, 2024
1 parent 3f2e8ac commit 8c75bec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rabies/analysis_pkg/diagnosis_pkg/interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,8 +429,8 @@ def prep_QC_thresholds_i(scan_QC_thresholds, analysis, network_i, num_priors):

analysis_QC_network_i(i,FC_maps_,prior_maps[i,:],non_zero_mask, corr_variable_, variable_name, template_file, out_dir_parametric, out_dir_non_parametric, analysis_prefix='NPR')

if self.inputs.group_avg_prior or (len(self.inputs.seed_prior_maps)>0):
seed_maps_list=np.array(FC_maps_dict['SBC'])
seed_maps_list=np.array(FC_maps_dict['SBC'])
if seed_maps_list.shape[1]>0:

if self.inputs.group_avg_prior:
num_priors = seed_maps_list.shape[1]
Expand Down

0 comments on commit 8c75bec

Please sign in to comment.