Esempio n. 1
0
 def __init__(self, data_list=[]):
     self.data_list = data_list
     self.avr_list = []
     self.var_list = []
     self.kalman_list = []
     self.split_list = []
     self.data_filter = Filter()
Esempio n. 2
0
    # print("ok")
    return


warnValue = WarnValue(0)

# 串口数据

rt = Seriar()
SerStatus = 0
SerCount = 0
SerCom = 'COM11'
dataQueue = queue.Queue(1000)
listArr = List()
file_handle = open('.1.txt', mode='w')
myFilter = Filter()
top = tk.Tk()
top.geometry('600x400')
top.resizable(0, 0)
# line
cv = tk.Canvas(top, bg='white', width=480, height=286)
cv.place(x=5, y=105, anchor=tk.NW)
cv.create_text(10, 10, text=str(warnValue.getUpValue()))
cv.create_text(10, 270, text=str(warnValue.getDownValue()))

CValue = 1
RStatus = 0


def ReceiveTask():
    global rt
Esempio n. 3
0
	def filter_process(self):
		logger.info("run filter")
		"""Filter each detection models and predict resistome(s)."""
		filter_obj = Filter(self.input_type,  self.loose, self.input_sequence, self.blast_results_xml_file, \
			os.path.join(self.dp,"card.json"),os.path.basename(self.input_sequence) ,self.output_file,self.threads, self)
		filter_obj.run()