From bc593dcaff075089312ae542cd96a9a549f58da4 Mon Sep 17 00:00:00 2001 From: tmadlener Date: Thu, 7 Dec 2023 13:55:21 +0100 Subject: [PATCH] Make iohandlers optional to ease Julia generation --- python/podio_class_generator.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/python/podio_class_generator.py b/python/podio_class_generator.py index 031a33b7c..77c92599e 100755 --- a/python/podio_class_generator.py +++ b/python/podio_class_generator.py @@ -94,8 +94,9 @@ def read_upstream_edm(name_path): 'Source files will be put under /src/*.cc. ' 'Julia files will be put under //*.jl.') parser.add_argument('packagename', help='Name of the package.') - parser.add_argument('iohandlers', choices=['ROOT', 'SIO'], nargs='+', - help='The IO backend specific code that should be generated') + parser.add_argument('iohandlers', choices=['ROOT', 'SIO'], nargs='*', + help='The IO backend specific code that should be generated', + default="ROOT") parser.add_argument('-l', '--lang', choices=['cpp', 'julia'], default='cpp', help='Specify the programming language (default: cpp)') parser.add_argument('-q', '--quiet', dest='verbose', action='store_false', default=True,