View Revisions: Issue #4534

Summary 0004534: inconsistent loading behavior between transforms versus image volumes and saving images volumes
Revision 2018-05-30 14:35 by lassoan
Steps To Reproduce

from python console with transform in nested directory

<pre>

partial path fails

slicer.util.loadTransform(r'./registration/dsa2post_man_LT.h5')
False

whole path works loading transform

slicer.util.loadTransform(r'/home/sansomk/caseFiles/mri/VWI_proj/case4/registration/dsa2post_man_LT.h5')
True

loading image volume

[success, dsa] = slicer.util.loadVolume(r'./image_vols/DSA.nrrd', returnNode=True)
success
True

saving image volume

slicer.util.saveNode(dsa, r'./registration/dsa2post_man_trans.nrrd')
False

slicer.util.saveNode(dsa, "/home/sansomk/caseFiles/mri/VWI_proj/case4/registration/registration/dsa2post_man_trans.nrrd")
True
</pre>

Revision 2018-04-03 16:08 by kayarre
Steps To Reproduce

from python console with transform in nested directory

partial path fails

slicer.util.loadTransform(r'./registration/dsa2post_man_LT.h5')
False

whole path works loading transform

slicer.util.loadTransform(r'/home/sansomk/caseFiles/mri/VWI_proj/case4/registration/dsa2post_man_LT.h5')
True

loading image volume

[success, dsa] = slicer.util.loadVolume(r'./image_vols/DSA.nrrd', returnNode=True)
success
True

saving image volume

slicer.util.saveNode(dsa, r'./registration/dsa2post_man_trans.nrrd')
False

slicer.util.saveNode(dsa, "/home/sansomk/caseFiles/mri/VWI_proj/case4/registration/registration/dsa2post_man_trans.nrrd")
True

Revision 2018-04-03 14:20 by kayarre
Steps To Reproduce

from python console with transform in nested directory

partial path fails

slicer.util.loadTransform(r'./registration/dsa2post_man_LT.h5')
False

#whole path works loading transform

slicer.util.loadTransform(r'/home/sansomk/caseFiles/mri/VWI_proj/case4/registration/dsa2post_man_LT.h5')
True

#loading image volume

[success, dsa] = slicer.util.loadVolume(r'./image_vols/DSA.nrrd', returnNode=True)
success
True