We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2b0dc5 commit 664d0e5Copy full SHA for 664d0e5
niftypet/nipet/img/pipe.py
@@ -147,6 +147,11 @@ def mmrchain(
147
fout = os.path.basename(fout)
148
# > get rid of extension
149
fout = fout.split('.')[0]
150
+ else:
151
+ if 'lm_dcm' in datain:
152
+ fout = os.path.basename(datain['lm_dcm']).split('.')[0]
153
154
+ fout = 'NiftyPET_recon'
155
156
# folder for co-registered mu-maps (for motion compensation)
157
fmureg = os.path.join(fmudir, 'registered')
0 commit comments