From 9440109862ba9f0346d941833cf049048fde57aa Mon Sep 17 00:00:00 2001
From: Johannes Schumann <johannes.schumann@fau.de>
Date: Fri, 20 Mar 2020 17:01:26 +0100
Subject: [PATCH] Current type was not applied to jobcard generation

---
 scripts/plot_cc_xsection.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/plot_cc_xsection.py b/scripts/plot_cc_xsection.py
index 11ce586..9a2aa00 100755
--- a/scripts/plot_cc_xsection.py
+++ b/scripts/plot_cc_xsection.py
@@ -91,7 +91,7 @@ def worker(energy, anti_flag=False):
     if anti_flag:
         process = "anticc"
     # create a neutrino jobcard for oxygen
-    tmpjc = generate_neutrino_jobcard("cc", "electron", energy, (8, 16))
+    tmpjc = generate_neutrino_jobcard(process, "electron", energy, (8, 16))
     datadir = TemporaryDirectory(dir=dirname(__file__),
                                  prefix="%sGeV" % energy)
     run_jobcard(tmpjc, datadir.name)
-- 
GitLab