Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#1048 closed defect (wontfix)

Plugin configuration wizard display/parse incorrectly (when configuring raw data import plugin).

Reported by: Johan Vallon-Christersson Owned by: everyone
Priority: major Milestone:
Component: web Version:
Keywords: Cc:


When testing with file (parsing file) the rows above defined data header (and the data header) does not display correct number of columns. In the test file 99 instead of 116. The last data header (field) is displayed as if the wizard fails to find the separator (tabs). However, it does not seem to affect the actual usability of the created configuration so the bug may just be a display bug?

Attachments (1)

912rows_Agilent_GE2-v5.txt (804.7 KB ) - added by Johan Vallon-Christersson 16 years ago.
Truncated raw data file (913 rows). Note, data header on line10

Download all attachments as: .zip

Change History (6)

by Johan Vallon-Christersson, 16 years ago

Attachment: 912rows_Agilent_GE2-v5.txt added

Truncated raw data file (913 rows). Note, data header on line10

comment:1 by Johan Vallon-Christersson, 16 years ago

912 rows in the attached file

comment:2 by Nicklas Nordborg, 16 years ago

I don't understand the description of this problem. Please provide step-by-step instructions for reproducing this problem, including which menus, buttons, tabs, etc. you click on and the values you enter in various forms.

comment:3 by Johan Vallon-Christersson, 16 years ago

If you create a new raw data import configuration and use the attached file to test the configuration with (clicking test with file in the wizard and use tab as separator) you will see the number of columns per line.
You can use the drop-down menu and set line 10 as data header.
Then click to parse the file again. You will now see that the header line is displayed to have 99 columns whereas the following data lines have 116 columns.
You can also scroll all the way to the right and you will see that for the last column the header line is a concatenated string (columns 99-116). Note, however, that in the Data header parameter, all tabs are present.

comment:4 by Nicklas Nordborg, 16 years ago

Resolution: wontfix
Status: newclosed

I have found what you are talking about. The issue here is that when creating the table, we have to specify the number of columns before we have started parsing the file. At this time we can't know how many there actually will be so we simply create 99 columns. Then, if a line has less columns we simply leave the rest of the columns unused, if there are more columns they all add up in the last column in the table. As you say, this is just a display issue which doesn't affect functionality.

comment:5 by Johan Vallon-Christersson, 16 years ago

Good. Thanks.

Note: See TracTickets for help on using tickets.