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

CSVConnectivityParser should allow multiple column separators

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.1
    • Component/s: None
    • Labels:
      None

      Description

      import csv
      with open('blaBla.csv', 'rb') as csvfile:
      dialect = csv.Sniffer().sniff(csvfile.read(1024), delimiters=";,")
      reader = csv.reader(csvfile, dialect)

      the value for `delimiters` should be read from an input parameter of the Uploader (exposed in web UI) for the CSV importer.

      Without something like above, the file attached to this bug is not importable on the cluster in MRS.

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              mihai.andrei Mihai Andrei
              Reporter:
              lia.domide Lia Domide
              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