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

Can't upload connectivity zip file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.1
    • Component/s: None
    • Environment:
      TVB on the cluster

      Description

      I've been trying to upload this zip file, that contains the three txt files required for a connectivity. However, I get the error 'could not convert' string to float.

      The files were produced using matlab 7.8.0(R2009a), using the same matlab code that generated some of the default data in TVB.

      From the error message I presume the problem comes from centres.txt
      However when reading the file in ipython(1.1.0):

      import numpy # nmpy version 1.7.1

      data = numpy.loadtxt('centres.txt', usecols=[1, 2, 3])
      labels = numpy.loadtxt('centres.txt', dtype=numpy.str, usecols=[0])

      no error is raised. This is the basic mechanism that the zip importer uses, so I don't really get what's going on.

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              lia.domide Lia Domide
              Reporter:
              paula.sanz-leon Paula Sanz Leon
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h