You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2024-12-16 10:49:32,185 /home/pnlbwh/pnlNipype/exec/nifti_atlas INFO Making /tmp/tmpdksgbjjh/mask16.nii.gz
2024-12-16 10:49:34,916 /home/pnlbwh/pnlNipype/exec/nifti_atlas INFO Fuse warped labelmaps to compute output labelmaps
2024-12-16 10:49:34,939 /home/pnlbwh/pnlNipype/exec/nifti_atlas INFO Compute MI between warped images and target
MI between /tmp/tmpdksgbjjh/atlas16.nii.gz and target
Traceback (most recent call last):
File "/home/pnlbwh/pnlNipype/exec/nifti_atlas", line 341, in
AtlasCsv.run()
File "/home/pnlbwh/miniconda3/envs/pnlpipe3/lib/python3.6/site-packages/plumbum/cli/application.py", line 572, in run
retcode = inst.main(*tailargs)
File "/home/pnlbwh/pnlNipype/exec/nifti_atlas", line 335, in main
makeAtlases(self.target, trainingTable, self.out, self.fusions, int(self.threads), self.debug)
File "/home/pnlbwh/pnlNipype/exec/nifti_atlas", line 232, in makeAtlases
weights = weightsFromMIExp(mis, ALPHA_DEFAULT)
File "/home/pnlbwh/pnlNipype/exec/nifti_atlas", line 98, in weightsFromMIExp
factor = alpha / (max(mis) - min(mis))
ZeroDivisionError: float division by zero
The text was updated successfully, but these errors were encountered:
nifti_atlas.txt
Command: (pnlpipe3) [root@974eb7a7ba4b anat]# nifti_atlas -d -t ~/myData/dec-2024/sub-0002/ses-1y1/anat/sub-0002_ses-1y1_desc-Xc_acq-T1w.nii.gz -o ~/myData/dec-2024/derivatives/sub-0002/ses-1y1/anat/ --train t1
Error (full output attached above):
/home/pnlbwh/pnlpipe/soft_dir/ANTs-bin-1195345/antsRegistrationSyNQuick.sh: line 606: 1122 Killed $COMMAND
1DIAGNOSTIC, 49, -7.267301962918e-01, 2.269298894817e-05, 5.3532e+02, 9.6492e+00,
1DIAGNOSTIC, 50, -7.268242113523e-01, 2.100148158536e-05, 5.4411e+02, 8.7891e+00,
Elapsed time (stage 2): 551.6
Total elapsed time: 585.7
2024-12-16 10:49:32,185 /home/pnlbwh/pnlNipype/exec/nifti_atlas INFO Making /tmp/tmpdksgbjjh/mask16.nii.gz
2024-12-16 10:49:34,916 /home/pnlbwh/pnlNipype/exec/nifti_atlas INFO Fuse warped labelmaps to compute output labelmaps
2024-12-16 10:49:34,939 /home/pnlbwh/pnlNipype/exec/nifti_atlas INFO Compute MI between warped images and target
MI between /tmp/tmpdksgbjjh/atlas16.nii.gz and target
Traceback (most recent call last):
File "/home/pnlbwh/pnlNipype/exec/nifti_atlas", line 341, in
AtlasCsv.run()
File "/home/pnlbwh/miniconda3/envs/pnlpipe3/lib/python3.6/site-packages/plumbum/cli/application.py", line 572, in run
retcode = inst.main(*tailargs)
File "/home/pnlbwh/pnlNipype/exec/nifti_atlas", line 335, in main
makeAtlases(self.target, trainingTable, self.out, self.fusions, int(self.threads), self.debug)
File "/home/pnlbwh/pnlNipype/exec/nifti_atlas", line 232, in makeAtlases
weights = weightsFromMIExp(mis, ALPHA_DEFAULT)
File "/home/pnlbwh/pnlNipype/exec/nifti_atlas", line 98, in weightsFromMIExp
factor = alpha / (max(mis) - min(mis))
ZeroDivisionError: float division by zero
The text was updated successfully, but these errors were encountered: