Skip to content

Commit 3bfaa48

Browse files
committed
Allo overriding the label
1 parent e745ba9 commit 3bfaa48

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Diff for: fact_funfolding/scripts/unfold_observations.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,15 @@
2626
@click.argument('corsika_file')
2727
@click.argument('output_file')
2828
@click.option('--seed', type=int, default=0)
29+
@click.option('--label', type=str, help='Override label in config')
2930
def main(
3031
config,
3132
observation_file,
3233
gamma_file,
3334
corsika_file,
3435
output_file,
3536
seed,
37+
label,
3638
):
3739
'''
3840
unfold fact data
@@ -158,7 +160,7 @@ def main(
158160
g=vec_g_data,
159161
bg=vec_g_bg,
160162
tau=config.tau,
161-
label=config.label,
163+
label=label or config.label,
162164
add_features=additional_features_to_save,
163165
)
164166

Diff for: setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
setup(
55
name='fact_funfolding',
66
description='Commandline utility to use funfolding on fact data',
7-
version='0.3.2',
7+
version='0.3.3',
88
author='Maximilian Nöthe',
99
author_email='[email protected]',
1010
packages=find_packages(),

0 commit comments

Comments
 (0)