Example #1
0
 def __init__(self, csv):
     InstrumentCSVResultsFileParser.__init__(self, csv)
     self._columns = []  # The different columns names
     self._linedata = {}  # The line with the data
     self._resid = ''
     self._method = ''
     self._date = ''
Example #2
0
 def __init__(self, csv):
     InstrumentCSVResultsFileParser.__init__(self, csv)
     self._columns = []  # The different columns names
     self._linedata = {}  # The line with the data
     self._resid = ''
     self._method = ''
     self._date = ''
Example #3
0
 def __init__(self, csv):
     InstrumentCSVResultsFileParser.__init__(self, csv)
     self._end_header = False
     self._columns = []
     self._period = [
         False, ''
     ]  # Variable to control results from period beginning and end.
Example #4
0
 def __init__(self, csv):
     InstrumentCSVResultsFileParser.__init__(self, csv)
     self._columns = []  # The different columns names
     self._end_header = False
     # This list contains all the rows without interesting data
     self.extrainfolist = ['Number', 'Average', 'Maximum', 'Minimum', 'Range', 'Std dev.',
                           'RSD(%)']
Example #5
0
 def __init__(self, csv):
     InstrumentCSVResultsFileParser.__init__(self, csv)
     self._columns = []  # The different columns names
     self._values = {}  # The analysis services from the same resid
     self._resid = ''  # A stored resid
     self._rownum = None
     self._end_header = False
Example #6
0
 def __init__(self, csv, analysiskey):
     InstrumentCSVResultsFileParser.__init__(self, csv)
     self.data_header = None
     self.file_header = {}
     # Set this flag when we find the header-line beginning with "Date,".
     # Once this flag is set, all following lines are real data.
     self.main_data_found = False
     self.analysiskey = analysiskey
Example #7
0
 def __init__(self, csv):
     InstrumentCSVResultsFileParser.__init__(self, csv)
     self._end_header = False
     self._end_sequencetable = False
     self._sequences = []
     self._sequencesheader = []
     self._quantitationresultsheader = []
     self._numline = 0
Example #8
0
 def __init__(self, csv):
     InstrumentCSVResultsFileParser.__init__(self, csv)
     self._end_header = False
     self._end_sequencetable = False
     self._sequences = []
     self._sequencesheader = []
     self._quantitationresultsheader = []
     self._numline = 0
Example #9
0
 def __init__(self, csv, analysiskey):
     InstrumentCSVResultsFileParser.__init__(self, csv)
     self.data_header = None
     self.file_header = {}
     # Set this flag when we find the header-line beginning with "Date,".
     # Once this flag is set, all following lines are real data.
     self.main_data_found = False
     self.analysiskey = analysiskey
Example #10
0
 def __init__(self, csv):
     InstrumentCSVResultsFileParser.__init__(self, csv)
     self._columns = []  # The different columns names
     self._end_header = False
     # This list contains all the rows without interesting data
     self.extrainfolist = [
         'Number', 'Average', 'Maximum', 'Minimum', 'Range', 'Std dev.',
         'RSD(%)'
     ]
Example #11
0
 def __init__(self, csv, analysiskey=None, defaultresult=None):
     # analysiskey contains the value of the selected AS or None
     # defaultresult contains the data column key which will be tagged as DefaultResult in the AS results dictionary.
     InstrumentCSVResultsFileParser.__init__(self, csv)
     self._end_header = False
     self._columns = []
     # When AS isn't selected we need to know which columns don't contain data. Since we don't know in
     # which order this columns could be, we need to write an ugly list with the possible columns names to exclude.
     self._excludedcolumns = ['Instrument ID', 'Analysis Date', 'Analysis Time', 'Rack No.', 'Tube Pos.',
                              'Sample ID No', 'Sample ID Info', 'Analysis Mode', 'Patient ID', 'Analysis Info.',
                              'Sample Judgment Info.', 'Positive(Diff)', 'Positive(Morph)', 'Positive(Count)',
                              'Error(Func)', 'Error(Result)', 'Order Info.', 'WBC Abnormal', 'WBC Suspect',
                              'RBC Abnormal', 'RBC Suspect', 'PLT Abnormal', 'PLT Suspect', 'Unit Info.',
                              'Validate', 'Action Message(Diff)', 'Action Message(Delta)', 'Sample Comment',
                              'Patient Name', 'Date of Birth', 'Sex', 'Patient comment', 'Ward', 'Doctor',
                              'Transmitted Parameters', 'Sequence No.']
     self.analysiskey = analysiskey
     self.defaultresult = defaultresult
Example #12
0
 def __init__(self, csv, analysiskey=None, defaultresult=None):
     # analysiskey contains the value of the selected AS or None
     # defaultresult contains the data column key which will be tagged as DefaultResult in the AS results dictionary.
     InstrumentCSVResultsFileParser.__init__(self, csv)
     self._end_header = False
     self._columns = []
     # When AS isn't selected we need to know which columns don't contain data. Since we don't know in
     # which order this columns could be, we need to write an ugly list with the possible columns names to exclude.
     self._excludedcolumns = [
         'Instrument ID', 'Analysis Date', 'Analysis Time', 'Rack No.',
         'Tube Pos.', 'Sample ID No', 'Sample ID Info', 'Analysis Mode',
         'Patient ID', 'Analysis Info.', 'Sample Judgment Info.',
         'Positive(Diff)', 'Positive(Morph)', 'Positive(Count)',
         'Error(Func)', 'Error(Result)', 'Order Info.', 'WBC Abnormal',
         'WBC Suspect', 'RBC Abnormal', 'RBC Suspect', 'PLT Abnormal',
         'PLT Suspect', 'Unit Info.', 'Validate', 'Action Message(Diff)',
         'Action Message(Delta)', 'Sample Comment', 'Patient Name',
         'Date of Birth', 'Sex', 'Patient comment', 'Ward', 'Doctor',
         'Transmitted Parameters', 'Sequence No.'
     ]
     self.analysiskey = analysiskey
     self.defaultresult = defaultresult
Example #13
0
 def __init__(self, slk):
     InstrumentCSVResultsFileParser.__init__(self, slk)
     self._columns = {} #The diferents data columns names
     self._linedata = {}#The line with the data
     self._rownum = None
     self._isFirst = True #Used to know if is the first linedata
Example #14
0
 def __init__(self, csv):
     InstrumentCSVResultsFileParser.__init__(self, csv)
     self._columns = []  # The different columns names
     self._linedata = {}  # The line with the data
     self._end_header = False
Example #15
0
 def __init__(self, csv):
     InstrumentCSVResultsFileParser.__init__(self, csv)
     self._end_header = False
     self._columns = []
     self.columns_name = False  #To know if the next line contains
Example #16
0
 def __init__(self, tsv, analysis1, analysis2):
     InstrumentCSVResultsFileParser.__init__(self, tsv)
     self._analysis1 = analysis1
     self._analysis2 = analysis2
Example #17
0
 def __init__(self, tsv):
     InstrumentCSVResultsFileParser.__init__(self, tsv)
     self._end_header = False
     self._columns = []
Example #18
0
 def __init__(self, csv, analysiskey):
     InstrumentCSVResultsFileParser.__init__(self, csv)
     self.analysiskey = analysiskey
     self.header = None
Example #19
0
 def __init__(self, tsv):
     InstrumentCSVResultsFileParser.__init__(self, tsv)
     self._end_header = False
     self._columns = []
Example #20
0
 def __init__(self, csv, analysiskey):
     InstrumentCSVResultsFileParser.__init__(self, csv)
     self._labels = False  # If true, we are in a line where are the sample names
     self._data = False  # If true, we are in a line where are the analysis results
     self._labels_values = {}  # The labels' values
     self.analysiskey = analysiskey  # The analysis key whose results will be related
Example #21
0
 def __init__(self, csv):
     InstrumentCSVResultsFileParser.__init__(self, csv)
     self._columns = []
Example #22
0
 def __init__(self, tsv, analysis1, analysis2):
     InstrumentCSVResultsFileParser.__init__(self, tsv)
     self._analysis1 = analysis1
     self._analysis2 = analysis2
Example #23
0
 def __init__(self, csv):
     InstrumentCSVResultsFileParser.__init__(self, csv)
     self.currentheader = None
Example #24
0
 def __init__(self, csv):
     InstrumentCSVResultsFileParser.__init__(self, csv)
     self._columns = []  # The different columns names
     self._linedata = {}  # The line with the data
     self._rownum = None
     self._end_header = False
Example #25
0
 def __init__(self, csv):
     InstrumentCSVResultsFileParser.__init__(self, csv)
     self._end_header = False
     self._columns = []
     self.columns_name = False #To know if the next line contains
Example #26
0
 def __init__(self, csv, analysiskey):
     InstrumentCSVResultsFileParser.__init__(self, csv)
     self._labels = False  # If true, we are in a line where are the sample names
     self._data = False  # If true, we are in a line where are the analysis results
     self._labels_values = {}  # The labels' values
     self.analysiskey = analysiskey  # The analysis key whose results will be related
Example #27
0
 def __init__(self, csv):
     InstrumentCSVResultsFileParser.__init__(self, csv)
     self._columns = []
Example #28
0
 def __init__(self, csv):
     InstrumentCSVResultsFileParser.__init__(self, csv)
     self.currentheader = None
Example #29
0
 def __init__(self, slk):
     InstrumentCSVResultsFileParser.__init__(self, slk)
     self._columns = {}  #The diferents data columns names
     self._linedata = {}  #The line with the data
     self._rownum = None
     self._isFirst = True  #Used to know if is the first linedata
Example #30
0
 def __init__(self, csv):
     InstrumentCSVResultsFileParser.__init__(self, csv)
     self._end_header = False
     self._columns = []
     self._period = [False,''] # Variable to control results from period beginning and end.