BmnRoot
Loading...
Searching...
No Matches
move_bad_runs.py File Reference

Go to the source code of this file.

Namespaces

namespace  move_bad_runs
 

Variables

int move_bad_runs.THRESHOLD = 5 * 1024 * 1024 * 1024
 
str move_bad_runs.BAD_DIR = "beam-bad"
 
str move_bad_runs.pattern = r'^run_(.*)_(\d+)_ev\d+_p\d+\.data$'
 
list move_bad_runs.data_files
 
 move_bad_runs.run_groups = defaultdict(list)
 
 move_bad_runs.match = re.match(pattern, f)
 
 move_bad_runs.label
 
 move_bad_runs.run_num_str
 
 move_bad_runs.run_num = int(run_num_str)
 
int move_bad_runs.moved_count = 0
 
 move_bad_runs.total_size = sum(os.path.getsize(f) for f in files)
 
 move_bad_runs.num_files = len(files)