cicwi / flexTOMO

ASTRA-based cone beam tomography reconstructions
https://cicwi.github.io/flexTOMO/
Other
5 stars 5 forks source link

Uncaught NameError when trying to free objects that have not been created #3

Closed askorikov closed 2 years ago

askorikov commented 2 years ago

If execution fails before the corresponding Astra objects were created, an uncaught NameError is raised here and other functions in the module:

https://github.com/cicwi/flexTOMO/blob/126b19162ce076cb3ad1b0e54b20f4e10636e11e/flextomo/projector.py#L686-L688

I can open a pool request if this isn't intended behavior.