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

Refactor datatype validation

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.2
    • Fix Version/s: 1.2.3
    • Component/s: None
    • Labels:
      None

      Description

      When a surface is imported the datatype will be validated by the importer, in datatype.validate, in surface.check and in surface.configure.

      We considered the following:
      Rename datatype.validate to datatype.traits_validate. Move most datatype validations from the importers and configure to a datatype.validate method. Have this validate method callable before configure and call it in importers.

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              mihai.andrei Mihai Andrei
              Reporter:
              mihai.andrei Mihai Andrei
              Votes:
              0 Vote for this issue
              Watchers:
              2 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