comparison mirgene.py @ 21:476121298816 draft

Uploaded
author glogobyte
date Wed, 20 Oct 2021 12:11:15 +0000
parents f44185f616bc
children 537dcf5b0133
comparison
equal deleted inserted replaced
20:2eebd59cc5ea 21:476121298816
239 ps_write.join() 239 ps_write.join()
240 [p.join() for p in ps1_matrix] 240 [p.join() for p in ps1_matrix]
241 241
242 ############################## Detection of Both ####################################### 242 ############################## Detection of Both #######################################
243 243
244 half = time.time()
245
246 if args.anal == "2": 244 if args.anal == "2":
247 245
248 # Initialization of the managers between the proccesses 246 # Initialization of the managers between the proccesses
249 # First group of samples (controls) 247 # First group of samples (controls)
250 n_con_data= manager.list() 248 n_con_data= manager.list()
405 [p.start() for p in ps1_matrix] 403 [p.start() for p in ps1_matrix]
406 404
407 ps_write.join() 405 ps_write.join()
408 [p.join() for p in ps1_matrix] 406 [p.join() for p in ps1_matrix]
409 procs1.join() 407 procs1.join()
410 print('That took {} seconds'.format(time.time() - half)) 408 print('Running time: {} seconds'.format(time.time() - starttime))
411 print('That took {} seconds'.format(time.time() - starttime)) 409
412 410
413 411
414 412
415 413
416 414
417 415
418 416
419