View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013962ParaView(No Category)public2013-03-22 18:532015-01-21 12:16
ReporterAlan Scott 
Assigned ToYumin Yuan 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Versiongit-master 
Target VersionFixed in Version4.0 
Summary0013962: Delimited text reader not correctly stripping spaces
DescriptionThe delimited text reader is not correctly stipping spaces.

Master, Linux or Windows, local server.
Put the following into a file named scalarBug.txt. Make sure there are no spaces after the "scalars".

x coord, y coord, z coord, scalar
   0, 0, 0, 0
   1, 0, 0, 1
   0, 1, 0, 2
   1, 1, 0, 3
-0.5, -0.5, 1, 4
 0.5, -0.5, 1, 5
-0.5, 0.5, 1, 6
 0.5, 0.5, 1, 7

Now, copy this file to a second file, and add a single space after the last 7.

* Now, read these two files into ParaView using the Delimited Text reader (default). Take default settings. Apply.
* On the information tab the file without the extra space will read the scalars in as ints, where it will read the file with a space as strings. This is a bug. I am leaving the following (from bug 13961) to show how to really test a fix.

<<snip >>
* Filters/ Alphabetical/ Table to Point filter. X Column == x coord, Y Column == y coord, Z Column == z coord. Apply.
* Now, split screen horizontally, and make the new window a 3d window. Turn on visibility of the Table to Point filter.
* Change color to "scalar" (which was in the table above). Add a color legend.

<<Bug>> The points are not colored properly, and the color legend range will go from -inf to inf (actually, -1e299 to 1e299).

The same issue occurs with the Table To Structured Grid filter.

TagsNo tags attached.
ProjectSandia
Topic Name13962_delimited_text_reader
Typeincorrect functionality
Attached Filescsv file icon scalarsWorking.csv [^] (156 bytes) 2013-03-22 19:12
csv file icon scalarsBroken.csv [^] (157 bytes) 2013-03-22 19:12

 Relationships
related to 0013961closedAlan Scott TableToPoints filter and TableToStructuredGrid scalars broken 
related to 0014071closedSebastien Jourdain Table to structured grid filter fails remote, multi server 

  Notes
(0030462)
Ken Moreland (manager)
2013-03-22 19:13

For simplicity, I uploaded a pair of csv files that match the data in the description. The scalarsBroken.csv file has errant behavior because of an extra space after the last 7.
(0030723)
Sebastien Jourdain (manager)
2013-05-08 09:18

Merged into master
(0030778)
Alan Scott (manager)
2013-05-15 16:18

Tested remote server, master, Linux.

I tested the Table to Point filter. The table to structured grid now has a crash in it (reported as bug number 14071.

 Issue History
Date Modified Username Field Change
2013-03-22 18:53 Alan Scott New Issue
2013-03-22 18:54 Alan Scott Relationship added related to 0013961
2013-03-22 19:12 Ken Moreland File Added: scalarsWorking.csv
2013-03-22 19:12 Ken Moreland File Added: scalarsBroken.csv
2013-03-22 19:13 Ken Moreland Note Added: 0030462
2013-05-03 13:57 Utkarsh Ayachit Assigned To => Yumin Yuan
2013-05-06 16:36 Yumin Yuan Status backlog => todo
2013-05-06 16:37 Yumin Yuan Status todo => active development
2013-05-07 16:07 Yumin Yuan Topic Name => 13962_delimited_text_reader
2013-05-07 16:07 Yumin Yuan Status active development => gatekeeper review
2013-05-07 16:07 Yumin Yuan Fixed in Version => git-next
2013-05-07 16:07 Yumin Yuan Resolution open => fixed
2013-05-08 09:18 Sebastien Jourdain Status gatekeeper review => customer review
2013-05-08 09:18 Sebastien Jourdain Note Added: 0030723
2013-05-15 16:18 Alan Scott Note Added: 0030778
2013-05-15 16:18 Alan Scott Status customer review => closed
2013-05-15 16:19 Alan Scott Relationship added related to 0014071
2013-05-18 19:58 Utkarsh Ayachit Fixed in Version git-next => git-master
2013-05-18 20:00 Utkarsh Ayachit Fixed in Version git-master => 4.0


Copyright © 2000 - 2018 MantisBT Team