CMS 3D CMS Logo

Classes | Functions | Variables

inputFilesetParser Namespace Reference

Classes

class  inputFilesetParser

Functions

def filehasHeader

Variables

tuple alreadyprocessedRuns = p.fieldvalues('Run','int')
string filename = '163664-v2-overview.csv+163665-v2-overview.csv+163668-v2-overview.csv+../json_DCSONLY.txt'
tuple p = inputFilesetParser(filename)
dictionary result = {}
tuple resultheader = p.resultHeader()

Function Documentation

def inputFilesetParser::filehasHeader (   f)

Definition at line 3 of file inputFilesetParser.py.

00004                     :
00005     line=f.readline()
00006     comps=line.split(',')
00007     if comps and comps[0].lower()=='run':
00008         return True
00009     else:
00010         return False
    

Variable Documentation

tuple inputFilesetParser::alreadyprocessedRuns = p.fieldvalues('Run','int')

Definition at line 200 of file inputFilesetParser.py.

string inputFilesetParser::filename = '163664-v2-overview.csv+163665-v2-overview.csv+163668-v2-overview.csv+../json_DCSONLY.txt'

Definition at line 187 of file inputFilesetParser.py.

Definition at line 188 of file inputFilesetParser.py.

dictionary inputFilesetParser::result = {}

Definition at line 186 of file inputFilesetParser.py.

tuple inputFilesetParser::resultheader = p.resultHeader()

Definition at line 194 of file inputFilesetParser.py.