-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Hi,
I've called main.mp_batch(foldername=fld,glob_str='*.lst'). It correctly identified 27 matching list files, but then exited after failing to parse the first list file. See below.
Calling main.run_batch_lst(foldername=fld,glob_str='*.lst') yielded the expected behaviour of moving onwards to the next list files after failing to parse first.
Thanks,
Lior
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/export/home/pblab/.conda/envs/py36pysight/lib/python3.6/multiprocessing/pool.py", line 119, in worker
result = (True, func(*args, **kwds))
File "/export/home/pblab/.conda/envs/py36pysight/lib/python3.6/multiprocessing/pool.py", line 44, in mapstar
return list(map(*args))
File "/export/home/pblab/.conda/envs/py36pysight/lib/python3.6/site-packages/pysight/main.py", line 57, in main_data_readout
cur_file.run()
File "/export/home/pblab/.conda/envs/py36pysight/lib/python3.6/site-packages/pysight/ascii_list_file_parser/file_io.py", line 52, in run
self.timepatch: str = self.get_timepatch(metadata)
File "/export/home/pblab/.conda/envs/py36pysight/lib/python3.6/site-packages/pysight/ascii_list_file_parser/file_io.py", line 173, in get_timepatch
f"The timepatch used ({timepatch}) isn't supported "
NotImplementedError: The timepatch used (2) isn't supported for binary files since it uses a 6-byte word representation. Please disallow this option in the MPANT software.
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "", line 1, in
File "/export/home/pblab/.conda/envs/py36pysight/lib/python3.6/site-packages/pysight/main.py", line 423, in mp_batch
pool.map(main_data_readout, all_guis)
File "/export/home/pblab/.conda/envs/py36pysight/lib/python3.6/multiprocessing/pool.py", line 266, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/export/home/pblab/.conda/envs/py36pysight/lib/python3.6/multiprocessing/pool.py", line 644, in get
raise self._value
NotImplementedError: The timepatch used (2) isn't supported for binary files since it uses a 6-byte word representation. Please disallow this option in the MPANT software.