commit/galaxy-central: jmchilton: Tool Tests - Only set library import dir if it exists.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/ff4e9117b39d/ Changeset: ff4e9117b39d User: jmchilton Date: 2015-01-12 02:32:50+00:00 Summary: Tool Tests - Only set library import dir if it exists. Fixes planemo #41 (https://github.com/galaxyproject/planemo/issues/41). Affected #: 1 file diff -r 796f3129e903e164e72ce9ec4db0158eb427ccac -r ff4e9117b39ddaff106d1c44792eb6fbcc7c0256 scripts/functional_tests.py --- a/scripts/functional_tests.py +++ b/scripts/functional_tests.py @@ -225,7 +225,11 @@ if not os.path.isabs( galaxy_test_file_dir ): galaxy_test_file_dir = os.path.join( os.getcwd(), galaxy_test_file_dir ) library_import_dir = galaxy_test_file_dir - user_library_import_dir = os.path.join( galaxy_test_file_dir, 'users' ) + import_dir = os.path.join( galaxy_test_file_dir, 'users' ) + if os.path.exists(import_dir): + user_library_import_dir = import_dir + else: + user_library_import_dir = None ignore_files = () start_server = 'GALAXY_TEST_EXTERNAL' not in os.environ Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org