BmnRoot
Loading...
Searching...
No Matches
config.py
Go to the documentation of this file.
1
SIZE = [1, 60, 60, 24, 30, 12]
2
UNITS = [
'seconds'
,
'minutes'
,
'hours'
,
'days'
,
'months'
,
'years'
]
3
START =
'Start date:'
4
END =
'End date:'
5
SUCCESS =
'Macro finished successfully'
6
START_REGEX =
r'Start date: (?P<week_day>\w{2,3}) (?P<month>\w{3})\s{1,2}(?P<day>\d{1,2}) (?P<time>\d{1,2}:\d{1,2}:\d{1,2}) ((?P<time12>\w{2}) )?(\w+ )?(?P<year>\d{4})'
7
END_REGEX =
r'End date: (?P<week_day>\w{2,3}) (?P<month>\w{3})\s{1,2}(?P<day>\d{1,2}) (?P<time>\d{1,2}:\d{1,2}:\d{1,2}) ((?P<time12>\w{2}) )?(\w+ )?(?P<year>\d{4})'
8
PROCESSING_LINE_START =
"Processing "
9
PROCESSING_REGEX =
r'Processing .*\.[cC]\(\"([^\"]*)\"\,.*\)\.\.\.'
10
MONTH_ARR = {
11
'Jan'
: 1,
'Feb'
: 2,
'Mar'
: 3,
'Apr'
: 4,
'May'
: 5,
'Jun'
: 6,
'Jul'
: 7,
'Aug'
: 8,
'Sep'
: 9,
'Oct'
: 10,
'Nov'
: 11,
'Dec'
: 12,
12
'янв'
: 1,
'фев'
: 2,
'мар'
: 3,
'апр'
: 4,
'май'
: 5,
'июн'
: 6,
'июл'
: 7,
'авг'
: 8,
'сен'
: 9,
'окт'
: 10,
'ноя'
: 11,
'дек'
: 12
13
}
14
EVENT_REGEX =
r'number of events\D*(\d+)'
15
RUN_REGEX =
r'_run\D*(\d+)'
16
RUN_EXTENSION =
'.root'
17
DPI = 300
18
FOLDERS_IGNORE = [
'__pycache__'
,
'myenv'
,
'.git'
]
19
BINS = 40
20
BINS_PER_EVENT = 40
21
UNSUCCESSFUL_LOG_FILE =
"unsuccessful_list.txt"
22
SUCCESSFUL_LOG_FILE =
"successful_list.txt"
install
services
statistics
log_time
config.py
Generated on Fri May 15 2026 10:41:00 for BmnRoot by
1.9.8