From a042a8e94a4c686ec9737fe45e509517630d2c91 Mon Sep 17 00:00:00 2001
From: Johannes Schumann <johannes.schumann@fau.de>
Date: Fri, 13 Jan 2023 12:13:41 +0100
Subject: [PATCH] Fix no volume in runner script

---
 km3buu/cmd.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/km3buu/cmd.py b/km3buu/cmd.py
index 10843b6..865b711 100755
--- a/km3buu/cmd.py
+++ b/km3buu/cmd.py
@@ -11,7 +11,7 @@ from os.path import join
 
 from km3buu.jobcard import generate_neutrino_jobcard
 from km3buu.ctrl import run_jobcard
-from km3buu.geometry import CanVolume, SphericalVolume
+from km3buu.geometry import CanVolume, SphericalVolume, NoVolume
 from km3buu.output import GiBUUOutput, write_detector_file
 
 ARGPARSE_DESC = {
@@ -205,7 +205,7 @@ def main():
     fobj = GiBUUOutput(gibuu_dir)
 
     if args.geometry == 'no':
-        volume = NoGeometry()
+        volume = NoVolume()
     elif args.geometry == 'sphere':
         volume = SphericalVolume(args.dimensions[0], tuple(args.center))
     elif args.geometry == 'can':
-- 
GitLab