Пример #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 = ''
Пример #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 = ''
Пример #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.
Пример #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(%)']
Пример #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
Пример #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
Пример #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
Пример #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
Пример #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
Пример #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(%)'
     ]
Пример #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
Пример #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
Пример #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
Пример #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
Пример #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
Пример #16
0
 def __init__(self, tsv, analysis1, analysis2):
     InstrumentCSVResultsFileParser.__init__(self, tsv)
     self._analysis1 = analysis1
     self._analysis2 = analysis2
Пример #17
0
 def __init__(self, tsv):
     InstrumentCSVResultsFileParser.__init__(self, tsv)
     self._end_header = False
     self._columns = []
Пример #18
0
 def __init__(self, csv, analysiskey):
     InstrumentCSVResultsFileParser.__init__(self, csv)
     self.analysiskey = analysiskey
     self.header = None
Пример #19
0
 def __init__(self, tsv):
     InstrumentCSVResultsFileParser.__init__(self, tsv)
     self._end_header = False
     self._columns = []
Пример #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
Пример #21
0
 def __init__(self, csv):
     InstrumentCSVResultsFileParser.__init__(self, csv)
     self._columns = []
Пример #22
0
 def __init__(self, tsv, analysis1, analysis2):
     InstrumentCSVResultsFileParser.__init__(self, tsv)
     self._analysis1 = analysis1
     self._analysis2 = analysis2
Пример #23
0
 def __init__(self, csv):
     InstrumentCSVResultsFileParser.__init__(self, csv)
     self.currentheader = None
Пример #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
Пример #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
Пример #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
Пример #27
0
 def __init__(self, csv):
     InstrumentCSVResultsFileParser.__init__(self, csv)
     self._columns = []
Пример #28
0
 def __init__(self, csv):
     InstrumentCSVResultsFileParser.__init__(self, csv)
     self.currentheader = None
Пример #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
Пример #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.