diff model_validation.xml @ 30:4b359039f09f draft

"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ea12f973df4b97a2691d9e4ce6bf6fae59d57717"
author bgruening
date Sat, 01 May 2021 01:03:56 +0000
parents 9b017b0da56e
children 1fe00785190d
line wrap: on
line diff
--- a/model_validation.xml	Tue Apr 13 22:28:10 2021 +0000
+++ b/model_validation.xml	Sat May 01 01:03:56 2021 +0000
@@ -238,7 +238,7 @@
 elif selected_function == 'learning_curve':
     try:
         train_sizes = safe_eval(options['train_sizes'])
-    except:
+    except Exception:
         sys.exit("Unsupported train_sizes input! Supports int/float in tuple and array-like structure.")
     if type(train_sizes) is tuple:
         train_sizes = np.linspace(*train_sizes)