From ee33804f74691c879d60bd8204bc005b21610036 Mon Sep 17 00:00:00 2001
From: asantamaria <asantamaria@iri.upc.edu>
Date: Wed, 21 Mar 2018 10:13:49 +0100
Subject: [PATCH] FIX issue 151

---
 wolf_scripts/generic_func/user_menu.sh | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/wolf_scripts/generic_func/user_menu.sh b/wolf_scripts/generic_func/user_menu.sh
index c472afa3e..f873d755b 100755
--- a/wolf_scripts/generic_func/user_menu.sh
+++ b/wolf_scripts/generic_func/user_menu.sh
@@ -92,3 +92,8 @@ if ! [[ $BASE =~ $TYPE ]] ;
 then
     BASE="$TYPE"_"$BASE";
 fi
+
+if ! [[ $CLASSNAME =~ .*BASE*. ]] ;
+then
+	CLASSNAME=${CLASSNAME//Base}  # Replace Base with nothing
+fi
-- 
GitLab