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

Fix typo

parent 7c51f15f
No related branches found
No related tags found
No related merge requests found
Pipeline #34219 passed with warnings
......@@ -120,9 +120,9 @@ ARGPARSE_GENERAL_PARAMS = [{
}, {
"option_strings": ["--zenith", "-z"],
"dest": "zenith",
"type":float,
"type": float,
"nargs": 2,
"help" = "Zenith range of the direction if a geometry is used",
"help": "Zenith range of the direction if a geometry is used",
"metavar": ("cosZmin", "cosZmax"),
"required": False,
"default": [-1, 1]
......@@ -221,8 +221,9 @@ def main():
if args.geometry == 'no':
volume = NoVolume()
elif args.geometry == 'sphere':
volume = SphericalVolume(args.dimensions[0], tuple(
args.center), zenith=args.zenith)
volume = SphericalVolume(args.dimensions[0],
tuple(args.center),
zenith=args.zenith)
elif args.geometry == 'can':
kwargs = {"detector_center": tuple(args.center), "zenith": args.zenith}
if args.dimensions:
......
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