picfoki.blogg.se

Veusz underscore
Veusz underscore




  1. VEUSZ UNDERSCORE SOFTWARE
  2. VEUSZ UNDERSCORE LICENSE

# get next column and return if we run out of data # loop over columns until we run out, or we don't need any """Read data from stream, and write to thedatasets."""įor index in range( self. stopindex = idxrangeĭef readFromStream( self, stream, thedatasets, block = None): Idxrange is None or a tuple (minidx, maxidx) lower() in ( 'inf', '+inf', '-inf', 'nan'):ĭef _init_( self, name, datatype, columns, idxrange):ĭatatype is None or one of the possible optionsĬolumns is a list of the columns '+', '-', '+-', ',' or 'D'įor errors, ignoring a column or a data column """Try to work out data type from sample value (val) # convert data type strings in descriptor to internal datatype U?'.*?' # match single-quoted string, ignoring escaped quotes U?'' | # match empty single-quoted string U?".*?" | # match double-quoted string, ignoring escaped quotes U?"" | # match empty double-quoted string

veusz underscore

# hopefully a matching expression can be passed to eval # this is a regular expression to match properly quoted strings """Used to indicate an error with the descriptor.""" append( DescriptorPart( name, datatype, columns, idxrange) ) Token in datatype_name_convert ):ĭatatype = datatype_name_convert] strip())įor tokenindex, token in enumerate( tokens):

veusz underscore

"""Get a descriptor and create a set of descriptor objects.""" # a regular expression for splitting descriptor into tokens The first 3 mean the same thing, the last means read from 1 to 5Ĭommas are now optional in 1.6, so descriptors can look like To read the data it takes a descriptor which takes the form of """SimpleRead: a class for the reading of data formatted in a simple way # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

VEUSZ UNDERSCORE SOFTWARE

# with this program if not, write to the Free Software Foundation, Inc.,

VEUSZ UNDERSCORE LICENSE

# You should have received a copy of the GNU General Public License along

veusz underscore

# GNU General Public License for more details. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # but WITHOUT ANY WARRANTY without even the implied warranty of # This program is distributed in the hope that it will be useful, # the Free Software Foundation either version 2 of the License, or # it under the terms of the GNU General Public License as published by # This program is free software you can redistribute it and/or modify InterpretDescriptor Function DescriptorError Class guessDataType Function DescriptorPart Class _init_ Function readFromStream Function setOutput Function Stream Class _init_ Function nextColumn Function allColumns Function flushLine Function readLine Function newLine Function FileStream Class _init_ Function readLine Function StringStream Class _init_ Function CSVStream Class _init_ Function newLine Function SimpleRead Class _init_ Function clearState Function _parseDescriptor Function readData Function _readDataUnblocked Function _readDataBlocked Function getInvalidConversions Function getDatasetCounts Function setOutput Function Read2DError Class SimpleRead2D Class _init_ Function _paramXRange Function _paramYRange Function _getNumList Function _paramInvertRows Function _paramInvertCols Function _paramTranspose Function _paramGridAtEdge Function readData Function setOutput Function ReadNDError Class SimpleReadND Class _init_ Function _paramTranspose Function _paramShape Function readData Function flatten Function setOutput Function






Veusz underscore