Skip to content

Commit

Permalink
correcting assignment of X as per selection of remove_mean
Browse files Browse the repository at this point in the history
  • Loading branch information
Biraj Shrestha authored and Biraj Shrestha committed Sep 20, 2024
1 parent 8bdd489 commit bd77f24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CPAC/nuisance/utils/compcor.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def voxel_generator():
reshaped_output_data = np.zeros_like(reshaped_data)

# Choose the appropriate X matrix
X = X_with_mean if remove_mean else X_without_mean
X = X_without_mean if remove_mean else X_with_mean

voxel_gen = voxel_generator()

Expand Down

0 comments on commit bd77f24

Please sign in to comment.