Skip to content
Snippets Groups Projects
Commit 86d55410 authored by Johannes Schumann's avatar Johannes Schumann
Browse files

Add file splitting to cmd

parent c9843b00
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,13 @@ ARGPARSE_GENERAL_PARAMS = [{
"type": int,
"help": "Number of events which are simulated",
"required": True
}, {
"option_strings": ["--split", "-s"],
"dest": "split",
"type": int,
"help": "How many km3net files to write from the dataset",
"required": False,
"default": 1
}, {
"option_strings": ["--flavor", "-f"],
"dest": "flavor",
......@@ -211,7 +218,7 @@ def main():
geometry=volume,
ofile=outfilename,
run_number=args.runnumber,
no_files=args.target[0],
no_files=args.split,
propagate_tau=args.tauprop)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment