issue conversion when .info file is invalid
Traceback (most recent call last):
File "/mnt/multipath-shares/scisoft/tomotools_env/tomwer/ubuntu20_x86_64/1.0/bin/nxtomomill", line 8, in <module>
sys.exit(main())
File "/mnt/multipath-shares/scisoft/tomotools_env/tomwer/ubuntu20_x86_64/1.0/lib/python3.8/site-packages/nxtomomill/__main__.py", line 252, in main
status = launcher.execute(sys.argv)
File "/mnt/multipath-shares/scisoft/tomotools_env/tomwer/ubuntu20_x86_64/1.0/lib/python3.8/site-packages/nxtomomill/__main__.py", line 160, in execute
super().execute(argv=argv)
File "/mnt/multipath-shares/scisoft/tomotools_env/tomwer/ubuntu20_x86_64/1.0/lib/python3.8/site-packages/silx/utils/launcher.py", line 295, in execute
return command.execute(command_argv)
File "/mnt/multipath-shares/scisoft/tomotools_env/tomwer/ubuntu20_x86_64/1.0/lib/python3.8/site-packages/silx/utils/launcher.py", line 129, in execute
status = func(argv)
File "/mnt/multipath-shares/scisoft/tomotools_env/tomwer/ubuntu20_x86_64/1.0/lib/python3.8/site-packages/nxtomomill/app/edf2nx.py", line 125, in main
converter.from_edf_to_nx(
File "/mnt/multipath-shares/scisoft/tomotools_env/tomwer/ubuntu20_x86_64/1.0/lib/python3.8/site-packages/nxtomomill/converter/edf/edfconverter.py", line 349, in from_edf_to_nx
proj_angle = scan.scan_range / scan.tomo_n
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'
Edited by payno