-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
frmts/ascii_dat: Replace tabs by spaces
Basement v2.8 writes results with tabs e.g. NAME "VertexScalarDataset"$ TIMEUNITS se$ TS 0»···0.000000$ 1·»·$ 2·»·$ 3·»·$ 2·»·$ 1·»·$ This wasn't parsed correctly by the ascii_dat parser. Therefor tabs are now replaced by spaces when parsing the simulation results.
- Loading branch information
1 parent
e5c1660
commit d442a69
Showing
3 changed files
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
tests/data/ascii_dat/quad_and_triangle_vertex_scalar_tabs.dat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
DATASET | ||
OBJTYPE "mesh2d" | ||
RT_JULIAN 2433282.500000 | ||
BEGSCL | ||
ND 5 | ||
NC 2 | ||
NAME "VertexScalarDataset" | ||
TIMEUNITS se | ||
TS 0 0.000000 | ||
1 | ||
2 | ||
3 | ||
2 | ||
1 | ||
ENDDS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters