summaryrefslogtreecommitdiffstats
path: root/python/astra/utils.pyx
diff options
context:
space:
mode:
Diffstat (limited to 'python/astra/utils.pyx')
-rw-r--r--python/astra/utils.pyx2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/astra/utils.pyx b/python/astra/utils.pyx
index 53e84a9..0b8d527 100644
--- a/python/astra/utils.pyx
+++ b/python/astra/utils.pyx
@@ -227,6 +227,8 @@ cdef createProjectionGeometryStruct(CProjectionGeometry2D * geom):
# dct['Vectors'] = vecs
if (geom.isOfType(< string > six.b('parallel'))):
dct["type"] = "parallel"
+ if (geom.isOfType(< string > six.b('parallel_vec'))):
+ dct["type"] = "parallel_vec"
elif (geom.isOfType(< string > six.b('fanflat'))):
raise Exception("Not yet implemented")
# astra::CFanFlatProjectionGeometry2D* pFanFlatGeom = dynamic_cast<astra::CFanFlatProjectionGeometry2D*>(_pProjGeom)