Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
VBC 6 SGA2R
-
8.2 Pipeline Integration
Description
Configure a surface simulation with an EEG monitor and launch it.
The flow works correctly until SimulatorAdapter tries to write the surface GID in a TimeSeriesEEGH5 file that does not keep that field.
The following error is thrown:
2020-05-11 21:52:09,073 - ERROR [proc:39928] - tvb.core.operation_async_launcher - 'TimeSeriesEEGH5' object has no attribute 'surface' Traceback (most recent call last): File "/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/core/operation_async_launcher.py", line 78, in do_operation_launch OperationService().initiate_prelaunch(curent_operation, adapter_instance) File "/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/core/services/operation_service.py", line 354, in initiate_prelaunch self._handle_exception(excep1, temp_files, msg, operation) File "/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/core/services/operation_service.py", line 400, in _handle_exception sys.exc_info()[2]) # when rethrowing in python this is required to preserve the stack trace File "/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/core/services/operation_service.py", line 326, in initiate_prelaunch result_msg, nr_datatypes = adapter_instance._prelaunch(operation, unique_id, available_space, view_model=view_model) File "/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/core/adapters/abcadapter.py", line 90, in new_function return func(*args, **kw) File "/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/core/adapters/abcadapter.py", line 373, in _prelaunch result = self.launch(view_model) File "/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/adapters/simulator/simulator_adapter.py", line 383, in launch ts_h5.surface.store(self.algorithm.surface.gid) AttributeError: 'TimeSeriesEEGH5' object has no attribute 'surface'