I'd like to help get the code working for Asylum files. Has your software ever successfully worked with Asylum force maps? Your Nature Methods paper says Asylum files are supported. Did something change in the code or in their file format between the time of the publication and now?
I've tried the latest build of OpenFovea on Ubuntu and get this error on Asylum files, even with small directories:
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 505, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/lib/python2.7/dist-packages/openfovea/classes.py", line 1872, in load_folder
self.load_file(os.path.join(fv_folder, files))
File "/usr/lib/python2.7/dist-packages/openfovea/classes.py", line 1853, in load_file
self.file['list'].append(ForceVolume(fv_file))
File "/usr/lib/python2.7/dist-packages/openfovea/classes.py", line 162, in __init__
_data = afm_file.load(fv_file)
File "/usr/lib/python2.7/dist-packages/openfovea/fovea_toolbox/file_util/afm_file.py", line 122, in load
[trace, retrace, value['piezo'], header] = asylum.load(file_name)
File "/usr/lib/python2.7/dist-packages/openfovea/fovea_toolbox/file_util/asylum.py", line 80, in load
trace, retrace, header, piezo = get_file(file_name)
File "/usr/lib/python2.7/dist-packages/openfovea/fovea_toolbox/file_util/asylum.py", line 309, in get_file
header = parse_note(note[0])
File "/usr/lib/python2.7/dist-packages/openfovea/fovea_toolbox/file_util/asylum.py", line 342, in parse_note
_index = note.index(_text)
ValueError: substring not found
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/openfovea/openfovea_gui.py", line 869, in on_new_experiment_activate
self.force_volume = self.experiment.get_file(0)
File "/usr/lib/python2.7/dist-packages/openfovea/classes.py", line 1775, in get_file
self.update_switch()
File "/usr/lib/python2.7/dist-packages/openfovea/classes.py", line 2150, in update_switch
mask = self.file['list'][self.file['current']].get_switch('mask')
IndexError: list index out of range
I'd like to help get the code working for Asylum files. Has your software ever successfully worked with Asylum force maps? Your Nature Methods paper says Asylum files are supported. Did something change in the code or in their file format between the time of the publication and now?
I've tried the latest build of OpenFovea on Ubuntu and get this error on Asylum files, even with small directories:
File "/usr/lib/ python2. 7/threading. py", line 552, in __bootstrap_inner python2. 7/threading. py", line 505, in run __target( *self._ _args, **self.__kwargs) python2. 7/dist- packages/ openfovea/ classes. py", line 1872, in load_folder load_file( os.path. join(fv_ folder, files)) python2. 7/dist- packages/ openfovea/ classes. py", line 1853, in load_file file['list' ].append( ForceVolume( fv_file) ) python2. 7/dist- packages/ openfovea/ classes. py", line 162, in __init__ load(fv_ file) python2. 7/dist- packages/ openfovea/ fovea_toolbox/ file_util/ afm_file. py", line 122, in load load(file_ name) python2. 7/dist- packages/ openfovea/ fovea_toolbox/ file_util/ asylum. py", line 80, in load python2. 7/dist- packages/ openfovea/ fovea_toolbox/ file_util/ asylum. py", line 309, in get_file python2. 7/dist- packages/ openfovea/ fovea_toolbox/ file_util/ asylum. py", line 342, in parse_note
self.run()
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
_data = afm_file.
File "/usr/lib/
[trace, retrace, value['piezo'], header] = asylum.
File "/usr/lib/
trace, retrace, header, piezo = get_file(file_name)
File "/usr/lib/
header = parse_note(note[0])
File "/usr/lib/
_index = note.index(_text)
ValueError: substring not found
Traceback (most recent call last): python2. 7/dist- packages/ openfovea/ openfovea_ gui.py" , line 869, in on_new_ experiment_ activate force_volume = self.experiment .get_file( 0) python2. 7/dist- packages/ openfovea/ classes. py", line 1775, in get_file update_ switch( ) python2. 7/dist- packages/ openfovea/ classes. py", line 2150, in update_switch 'list'] [self.file[ 'current' ]].get_ switch( 'mask')
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
mask = self.file[
IndexError: list index out of range