Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save canismarko/8abf0ae0d33e65b9199ce9b91639a526 to your computer and use it in GitHub Desktop.
Save canismarko/8abf0ae0d33e65b9199ce9b91639a526 to your computer and use it in GitHub Desktop.
Tomoscan error
Exception in thread Thread-21:
Traceback (most recent call last):
File "/local/usertxm/conda/anaconda/lib/python3.8/site-packages/tomoscan-0.1-py3.8.egg/tomoscan/tomoscan.py", line 668, in fly_scan
self.begin_scan()
File "/local/usertxm/conda/anaconda/lib/python3.8/site-packages/tomoscan-0.1-py3.8.egg/tomoscan/tomoscan_32id.py", line 211, in begin_scan
super().begin_scan()
File "/local/usertxm/conda/anaconda/lib/python3.8/site-packages/tomoscan-0.1-py3.8.egg/tomoscan/tomoscan_pso.py", line 97, in begin_scan
self.compute_positions_PSO()
File "/local/usertxm/conda/anaconda/lib/python3.8/site-packages/tomoscan-0.1-py3.8.egg/tomoscan/tomoscan_pso.py", line 291, in compute_positions_PSO
time_per_angle = self.compute_frame_time()
File "/local/usertxm/conda/anaconda/lib/python3.8/site-packages/tomoscan-0.1-py3.8.egg/tomoscan/tomoscan.py", line 847, in compute_frame_time
readout = readout_times[pixel_format]/1000.
KeyError: '3'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/local/usertxm/conda/anaconda/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/local/usertxm/conda/anaconda/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/local/usertxm/conda/anaconda/lib/python3.8/site-packages/tomoscan-0.1-py3.8.egg/tomoscan/tomoscan.py", line 695, in fly_scan
self.end_scan()
File "/local/usertxm/conda/anaconda/lib/python3.8/site-packages/tomoscan-0.1-py3.8.egg/tomoscan/tomoscan_32id.py", line 261, in end_scan
dm.scp(full_file_name, remote_analysis_dir)
File "/local/usertxm/conda/anaconda/lib/python3.8/site-packages/tomoscan-0.1-py3.8.egg/tomoscan/data_management.py", line 41, in scp
fname_destination = remote_analysis_dir + p.parts[-3] + '/' + p.parts[-2] + '/'
IndexError: tuple index out of range
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment