Skip to content

Commit

Permalink
Merge pull request #6 from inati/python3
Browse files Browse the repository at this point in the history
Some changes for python3 compatibility.
  • Loading branch information
hansenms committed Sep 15, 2015
2 parents 692468e + 92a202b commit 8350b51
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions recon_ismrmrd_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@

# TODO: Currently ignoring noise scans
if acq.isFlagSet(ismrmrd.ACQ_IS_NOISE_MEASUREMENT):
print "Found noise scan at acq ", acqnum
print("Found noise scan at acq ", acqnum)
continue
else:
firstacq = acqnum
print "Imaging acquisition starts acq ", acqnum
print("Imaging acquisition starts acq ", acqnum)
break


Expand Down
4 changes: 2 additions & 2 deletions recon_multi_reps.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,11 @@
acq = dset.read_acquisition(acqnum)

if acq.isFlagSet(ismrmrd.ACQ_IS_NOISE_MEASUREMENT):
print "Found noise scan at acq ", acqnum
print("Found noise scan at acq ", acqnum)
continue
else:
firstacq = acqnum
print "Imaging acquisition starts acq ", acqnum
print("Imaging acquisition starts acq ", acqnum)
break

#Calculate prewhiterner taking BWs into consideration
Expand Down

0 comments on commit 8350b51

Please sign in to comment.