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

Review usages of stateVar names construction

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.2
    • Component/s: None
    • Labels:
      None
    • Epic Link:
    • Sprint:
      VBC REST API 3
    • TVB-C Task:
      8.2 Pipeline Integration

      Description

      We have in many places something like:

      labelsStateVar=ts_h5.labels_dimensions.load().get(ts_h5.labels_ordering.load()[1], []),
      

      And we prefer:

              state_list = ts_index.get_labels_for_dimension(1)
              mode_list = list(range(ts_index.data_length_4d))
      

      So, I suggest search for free text "labels_dimensions" and review code around.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                adrian.dordea Adrian Dordea
                Reporter:
                lia.domide Lia Domide
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 4 hours Original Estimate - 4 hours
                    4h
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 1 day
                    1d