fvpolpeta / devide

Automatically exported from code.google.com/p/devide
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

Slice3d Viewer Volume of Interest extraction passes incorrect argument (float vs int) #189

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In line 1224 of slice3dVWR.py a type cast is needed so that the voi list 
contains integers. 
Currently this causes a TypeError and the "save VOI" feature not to work.

Resulting line should be:
voi[i] = int(round((bounds[i] - iorigin[i / 2]) / ispacing[i / 2]))

Original issue reported on code.google.com by fma...@gmail.com on 16 Mar 2011 at 11:20

GoogleCodeExporter commented 9 years ago

Original comment by fma...@gmail.com on 16 Mar 2011 at 11:20

GoogleCodeExporter commented 9 years ago

Original comment by fma...@gmail.com on 17 Mar 2011 at 4:16

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r4061.

Original comment by fma...@gmail.com on 25 May 2011 at 3:04