Skip to content
Snippets Groups Projects
Commit 5647aad8 authored by Loraine Gueguen's avatar Loraine Gueguen
Browse files

fix instance_url

parent 476f437d
No related branches found
No related tags found
2 merge requests!24Run wf,!18Release v2.1.0
This commit is part of merge request !18. Comments created here will be created in the context of that merge request.
...@@ -41,12 +41,12 @@ class RunWorkflow(speciesData.SpeciesData): ...@@ -41,12 +41,12 @@ class RunWorkflow(speciesData.SpeciesData):
def set_galaxy_instance(self, config): def set_galaxy_instance(self, config):
# Set the instance url attribute --> TODO: the localhost rule in the docker-compose still doesn't work on scratchgmodv1 # Set the instance url attribute --> TODO: the localhost rule in the docker-compose still doesn't work on scratchgmodv1
instance_url = "http://localhost:{0}/sp/{1}/galaxy/".format( self.instance_url = "http://localhost:{0}/sp/{1}/galaxy/".format(
config[constants.CONF_ALL_HTTP_PORT], config[constants.CONF_ALL_HTTP_PORT],
self.genus_species) self.genus_species)
self.instance = utilities_bioblend.get_galaxy_instance( self.instance = utilities_bioblend.get_galaxy_instance(
instance_url=instance_url, instance_url=self.instance_url,
email=config[constants.CONF_GALAXY_DEFAULT_ADMIN_EMAIL], email=config[constants.CONF_GALAXY_DEFAULT_ADMIN_EMAIL],
password=config[constants.CONF_GALAXY_DEFAULT_ADMIN_PASSWORD], password=config[constants.CONF_GALAXY_DEFAULT_ADMIN_PASSWORD],
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment