changeset 6:eabfda6213ae

better error message
author pieter.lukasse@wur.nl
date Tue, 21 Jan 2014 15:50:49 +0100
parents b1d339e0147e
children 64380b35b8a6
files match_library.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/match_library.py	Tue Jan 21 15:47:39 2014 +0100
+++ b/match_library.py	Tue Jan 21 15:50:49 2014 +0100
@@ -111,7 +111,7 @@
     files = glob.glob(dir_name + "/*.txt")
     if len(files) == 0:
         # Configuration error: no library files found in <galaxy-home-dir>/" + dir_name :
-        galaxy_output = [("Configuration error: no library files found", "", False)]
+        galaxy_output = [("Configuration error: expected file not found in <galaxy-home-dir>/" + dir_name, "", False)]
     else:
         galaxy_output = [(str(get_file_name_no_ext(file_name)), str(os.path.abspath(file_name)), False) for file_name in files]
     return(galaxy_output)