Skip to content

Commit

Permalink
More linting errors for GE updates
Browse files Browse the repository at this point in the history
  • Loading branch information
agudmundson committed Sep 12, 2024
1 parent 21fbc4b commit 26ff5f3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec2nii/GE/ge_pfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,10 +362,10 @@ def _process_hbcd(pfile):
new_shape.insert(5, edit_cases) # Include Subscans

lTE_metab_ = np.zeros(new_shape, dtype=np.complex_) # New lTE Metab Array
lTE_metab_[:,:,:,:,:,0,:] = lTE_metab[:,:,:,:,0::4,:] # Subscan 1
lTE_metab_[:,:,:,:,:,1,:] = lTE_metab[:,:,:,:,1::4,:] # Subscan 2
lTE_metab_[:,:,:,:,:,2,:] = lTE_metab[:,:,:,:,2::4,:] # Subscan 3
lTE_metab_[:,:,:,:,:,3,:] = lTE_metab[:,:,:,:,3::4,:] # Subscan 4
lTE_metab_[:, :, :, :, :, 0, :] = lTE_metab[:, :, :, :, 0::4, :] # Subscan 1
lTE_metab_[:, :, :, :, :, 1, :] = lTE_metab[:, :, :, :, 1::4, :] # Subscan 2
lTE_metab_[:, :, :, :, :, 2, :] = lTE_metab[:, :, :, :, 2::4, :] # Subscan 3
lTE_metab_[:, :, :, :, :, 3, :] = lTE_metab[:, :, :, :, 3::4, :] # Subscan 4
lTE_metab = lTE_metab_ # With Subscan Dim

lTE_metab_meta = _populate_metadata(pfile, water_suppressed=True) # Acquisition Information
Expand Down

0 comments on commit 26ff5f3

Please sign in to comment.