Opened 17 years ago

Closed 17 years ago

#702 closed enhancement (fixed)

Add lineNum() function(s) to mapping expressions supported by the FlatFileParser

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: minor Milestone: BASE 2.4
Component: core Version:
Keywords: Cc:

Description

With this function we can import data and use the current line number as a value. There should be options for using the real line number or only the line number among the data lines (ie. do not count header lines). We may also need to reset the line number in each section. Hmm.. I think we need two functions

  • lineNum() gets the actual line number from the file
  • dataNum() get the data line number and is reset at each section

Ticket #486 may depend on this if we need to fake coordinates on the array design.

Change History (2)

comment:1 by Nicklas Nordborg, 17 years ago

Owner: changed from everyone to Nicklas Nordborg
Status: newassigned

comment:2 by Nicklas Nordborg, 17 years ago

Resolution: fixed
Status: assignedclosed

(In [3618]) Fixes #702: Add lineNum() function(s) to mapping expressions supported by the FlatFileParser

Note: See TracTickets for help on using tickets.