mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Tool Tests - Only set library import dir if it exists.
Fixes planemo #41 (https://github.com/galaxyproject/planemo/issues/41).
This commit is contained in:
@@ -225,7 +225,11 @@ def main():
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user