示例#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
文件: __init__.py 项目: nafwa03/olims
 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
文件: __init__.py 项目: nafwa03/olims
 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
文件: __init__.py 项目: nafwa03/olims
 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
文件: __init__.py 项目: nafwa03/olims
 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
文件: __init__.py 项目: nafwa03/olims
 def __init__(self, tsv, analysis1, analysis2):
     InstrumentCSVResultsFileParser.__init__(self, tsv)
     self._analysis1 = analysis1
     self._analysis2 = analysis2
示例#17
0
文件: __init__.py 项目: nafwa03/olims
 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
文件: __init__.py 项目: nafwa03/olims
 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
文件: __init__.py 项目: nafwa03/olims
 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
文件: __init__.py 项目: nafwa03/olims
 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
文件: __init__.py 项目: nafwa03/olims
 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
文件: __init__.py 项目: nafwa03/olims
 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
文件: __init__.py 项目: nafwa03/olims
 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.