Skip to content

Commit

Permalink
Fix logic error
Browse files Browse the repository at this point in the history
  • Loading branch information
jbteves committed Nov 8, 2019
1 parent 72209ac commit c0372c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tedana/workflows/tedana.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,8 @@ def tedana_workflow(data, tes, mask=None, mixm=None, ctab=None, manacc=None,
catd, ref_img = io.load_data(data, n_echos=n_echos)
n_samp, n_echos, n_vols = catd.shape
LGR.debug('Resulting data shape: {}'.format(catd.shape))
if not nopng and (png_cmap == 'coolwarm'):

if nopng and (png_cmap != 'coolwarm'):
LGR.warning('Overriding --nopng since --png-cmap provided.')
nopng = False

Expand Down

0 comments on commit c0372c7

Please sign in to comment.