@@ -89,14 +89,13 @@ def run_brb(configfile, stats, fcid):
89
89
90
90
else :
91
91
# Push stats on-demand
92
- log .info (f"Pushing stats for flowcell: { fcid } " )
93
92
d = [d for d in glob .glob ("{}/*/fastq.made" .format (config .get ('Paths' , 'baseData' ))) if fcid in d ]
94
93
dual_lane = len (d ) == 2
95
94
if len (d ) == 0 :
96
- log . error (f"No fastq.made files found for { fcid } " )
95
+ print (f"ERROR: No fastq.made files found for { fcid } " )
97
96
return # Exit BRB if no files found.
98
97
elif len (d ) > 2 :
99
- log . error (f"How many lanes does { fcid } have?!" )
98
+ print (f"ERROR: How many lanes does { fcid } have?!" )
100
99
return # Exit BRB this error shouldn't happen at all.
101
100
102
101
config .set ('Options' ,'runID' ,d [0 ].split ("/" )[- 2 ])
@@ -111,14 +110,11 @@ def run_brb(configfile, stats, fcid):
111
110
if not dual_lane :
112
111
logFile = Path (config ['Paths' ]['logPath' ], config .get ('Options' ,'runID' ) + '.log' )
113
112
else :
114
- logFile = Path (config ['Paths' ]['logPath' ], config .get ('Options' ,'runID' )[:- 1 ] + '_both ' + '.log' )
113
+ logFile = Path (config ['Paths' ]['logPath' ], config .get ('Options' ,'runID' )[:- 1 ] + 'both ' + '.log' )
115
114
print (f"Logging into: { logFile } " )
116
115
setLog (logFile )
117
-
118
- if dual_lane :
119
- log .info ("Same log-file is being used for both lanes. Hopefully this is not too confusing :$" )
120
-
121
-
116
+ log .info (f"Pushing stats for flowcell: { fcid } " )
117
+
122
118
# Process each group's data, ignore cases where the project isn't in the lanes being processed
123
119
process_data (config , ParkourDict )
124
120
0 commit comments