Uploaded image for project: 'The Virtual Brain'
  1. The Virtual Brain
  2. TVB-2644

Finalize Simulator Page

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.6
    • Component/s: TVB-Simulator
    • Labels:
      None
    • Epic Link:
    • Sprint:
      VBC 6 SGA2R
    • TVB-C Task:
      8.2 Pipeline Integration

      Description

      This is intended as an umbrella story, describing the currently not working parts of the Simulator page.

      To be decided (based on  estimated fix duration) if these deserve their own task/subtask, or can be group some other way when planning/fixing. 

      1. Isocline Visualizer doesn't work TVB-2640
      2. PSE Simulation Launch doesn't work with GUID ranges TVB-2643
      3. Bold monitor launching fails when sample_period is smaller than simulation_length and doesn't give any suggestive message, it just fails TVB-2642
      4. When a PSE Launch with Bold monitor can be launched successfully (if not failed as above), but the Discrete Visualizer won't work for it, it doesn't give any error in Pycharm but you just won't see anything when you click on it)
      5. Test launching with surfaces TVB-2550
      6. Uploading from ZIP doesn't seem to work. You press on the button and nothing happens, the area in the upper-right corner of the screen just turns red. It should be linked with TVB-2537
      7. Deleting simulation from history is not implemented TVB-2724
      8. If you go past the local dynamic model selection and you refresh the page, you get an error and the rest won't be reloaded. Also if you load a simulation that was done with PSE and you refresh it, the part after the "simulation name" won't appear. There could be other refreshing problems as well, in short terms: refreshing the simulation page gives errors. TVB-2555
      9. Running with Stimulus gives the following error: required attribute referenced before assignment. Use a default or assign a value before reading it attribute tvb.datatypes.patterns.StimuliRegion.connectivity = Attr(field_type=<class 'tvb.datatypes.connectivity.Connectivity'>, default=None, required=True)
        TVB-2698
      10. Copying a normally launched simulation loads things correctly, but gives an error in PyCharm: "TypeError: launch_simulation() missing 1 required positional argument: 'launch_mode'". This is because launch_simulation shouldn't be called when copying a simulation. TVB-2555
      11. range.js and burst.js  require a big review. Most of the functions there are deprecated now.
        TVB-2658
      12. After launch of a PSE in the Burst History there is no special Group icon displayed any more. TVB-2672
      13.  Can't configure Noise when choosing a Stochastic Integrator, because:  TVB-2700       
         Traceback (most recent call last):
         File "d:\tvb\tvb-root\framework_tvb\tvb\interfaces\web\controllers\decorators.py", line 147, in deco
         return func(*a, **b)
         File "d:\tvb\tvb-root\framework_tvb\tvb\interfaces\web\controllers\decorators.py", line 78, in deco
         template_dict = func(*a, **b)
         File "d:\tvb\tvb-root\framework_tvb\tvb\interfaces\web\controllers\decorators.py", line 193, in deco
         return func(*a, **b)
         File "d:\tvb\tvb-root\framework_tvb\tvb\interfaces\web\controllers\burst\noise_configuration_controller.py", line 58, in index
         noise_values = self.init_noise_config_values(model, integrator, connectivity)
         File "d:\tvb\tvb-root\framework_tvb\tvb\interfaces\web\controllers\burst\noise_configuration_controller.py", line 111, in init_noise_config_values
         nr_nodes = connectivity.number_of_regions
         AttributeError: 'UUID' object has no attribute 'number_of_regions'
      14. Simulation with Spatial Average Monitor can be launched but it will show up with red at Operations and the error only says: "'NoneType' object has no attribute 'size'". TVB-2701
      15. After selecting of a Surface, button 'set up region model' does not work anymore: TVB-2617
         File "d:\tvb\tvb-root\framework_tvb\tvb\interfaces\web\controllers\decorators.py", line 147, in deco
         return func(*a, **b)
         File "d:\tvb\tvb-root\framework_tvb\tvb\interfaces\web\controllers\decorators.py", line 96, in deco
         result = func(*a, **b)
         File "d:\tvb\tvb-root\framework_tvb\tvb\interfaces\web\controllers\decorators.py", line 193, in deco
         return func(*a, **b)
         File "d:\tvb\tvb-root\framework_tvb\tvb\interfaces\web\controllers\flow_controller.py", line 605, in read_from_h5_file
         result = result(**kwargs)
         File "d:\tvb\tvb-root\framework_tvb\tvb\adapters\datatypes\h5\time_series_h5.py", line 283, in read_data_page_split
         if self.surface.number_of_split_slices <= 1:
         AttributeError: 'Reference' object has no attribute 'number_of_split_slices'
         2020-04-01 15:28:29,117 - ERROR - tvb.interface.web.controllers.decorators - An unexpected exception appeared
         Traceback (most recent call last):
         File "d:\tvb\tvb-root\framework_tvb\tvb\interfaces\web\controllers\decorators.py", line 147, in deco
         return func(*a, **b)
         File "d:\tvb\tvb-root\framework_tvb\tvb\interfaces\web\controllers\decorators.py", line 96, in deco
         result = func(*a, **b)
         File "d:\tvb\tvb-root\framework_tvb\tvb\interfaces\web\controllers\decorators.py", line 193, in deco
         return func(*a, **b)
         TypeError: model_changed() missing 1 required positional argument: 'name'
        
      16.  Visualizing Simulation launched with Global Average Monitor does not work:  TVB-2702
        Traceback (most recent call last): File "d:\tvb\tvb-root\framework_tvb\tvb\interfaces\web\controllers\decorators.py", line 147, in deco return func(*a, **b) File "d:\tvb\tvb-root\framework_tvb\tvb\interfaces\web\controllers\decorators.py", line 78, in deco template_dict = func(*a, **b) File "d:\tvb\tvb-root\framework_tvb\tvb\interfaces\web\controllers\decorators.py", line 193, in deco return func(*a, **b) File "d:\tvb\tvb-root\framework_tvb\tvb\interfaces\web\controllers\decorators.py", line 238, in deco return func(*a, **b) File "d:\tvb\tvb-root\framework_tvb\tvb\interfaces\web\controllers\decorators.py", line 223, in deco return func(*a, **b) File "d:\tvb\tvb-root\framework_tvb\tvb\interfaces\web\controllers\flow_controller.py", line 213, in default template_specification = self.execute_post(project.id, submit_link, step_key, algorithm, **data) File "d:\tvb\tvb-root\framework_tvb\tvb\interfaces\web\controllers\flow_controller.py", line 478, in execute_post result = adapter_instance.launch(view_model) File "d:\tvb\tvb-root\framework_tvb\tvb\adapters\visualizers\eeg_monitor.py", line 262, in launch params = self.compute_parameters(main_time_series_index, time_series_index2, time_series_index3) File "d:\tvb\tvb-root\framework_tvb\tvb\adapters\visualizers\eeg_monitor.py", line 216, in compute_parameters measure_points_selectionGIDs) File "d:\tvb\tvb-root\framework_tvb\tvb\adapters\visualizers\eeg_monitor.py", line 149, in _compute_ag_settings step, translations, channels_per_set = self.compute_required_info(original_timeseries) File "d:\tvb\tvb-root\framework_tvb\tvb\adapters\visualizers\eeg_monitor.py", line 354, in compute_required_info self.has_nan = self.has_nan or self._replace_nan_values(page_chunk_data[:, idx]) IndexError: too many indices for array
         
      17. Not bug, but would be nice to display a message in the Simulator page in case there is no Connectivity in the project.
      18. Also, should we hide the Launch buttons after the simulation/PSE has started? YES TVB-2722

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                robert.vincze Robert Francisc Vincze
                Reporter:
                robert.vincze Robert Francisc Vincze
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 2 weeks, 2 days
                    2w 2d
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 2 weeks, 2 hours Time Not Required
                    2w 2h