diff --git a/km3buu/jobcard.py b/km3buu/jobcard.py
index 1546ae19904d0805a2a925d226bd84f043cadb51..2e7bbc81326b6ff785ef8b614b90f19144ed66e5 100644
--- a/km3buu/jobcard.py
+++ b/km3buu/jobcard.py
@@ -74,8 +74,6 @@ class Jobcard(object):
     def __str__(self):
         retval = ""
         for group, attrs in self._groups.items():
-            if len(self._groups[group]) == 0:
-                continue
             retval += "&%s\n" % group
             for attr, value in attrs.items():
                 if type(value) is bool:
@@ -86,11 +84,12 @@ class Jobcard(object):
         return retval
 
 
-def generate_neutrino_jobcard(process,
-                              flavour,
-                              energy,
-                              target,
-                              input_path=INPUT_PATH):
+def generate_neutrino_jobcard_template(
+    process,
+    flavour,
+    energy,
+    target,
+    input_path=INPUT_PATH):  # pragma: no cover
     """
     Generate a jobcard for neutrino interaction