From 102eeef2d7045fa5b8706497f04817cb2f75813a Mon Sep 17 00:00:00 2001 From: Takao Nakaguchi Date: Fri, 4 Dec 2015 01:28:23 +0000 Subject: [PATCH] Replacement should be applied only to first occurrence. --- lib/tool_shed/galaxy_install/migrate/check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tool_shed/galaxy_install/migrate/check.py b/lib/tool_shed/galaxy_install/migrate/check.py index 2545bb6b3b9..cd8f4db1d04 100644 --- a/lib/tool_shed/galaxy_install/migrate/check.py +++ b/lib/tool_shed/galaxy_install/migrate/check.py @@ -54,7 +54,7 @@ def verify_tools( app, url, galaxy_config_file, engine_options={} ): break config_arg = '' if os.path.abspath( os.path.join( os.getcwd(), 'galaxy.ini' ) ) != galaxy_config_file: - config_arg = ' -c %s' % galaxy_config_file.replace( os.path.abspath( os.getcwd() ), '.' ) + config_arg = ' -c %s' % galaxy_config_file.replace( os.path.abspath( os.getcwd() ), '.', 1 ) if not app.config.running_functional_tests: if tool_shed_accessible: # Automatically update the value of the migrate_tools.version database table column.