diff --git a/gga_load_data.py b/gga_load_data.py index 52902a0c9c43b9848f1410367589911e6c1a0576..d961ddac26fbdfc87a5ce8b0f40c94efd90eb1b6 100644 --- a/gga_load_data.py +++ b/gga_load_data.py @@ -364,7 +364,8 @@ if __name__ == "__main__": # Parse the config yaml file load_data_for_current_species.config = utilities.parse_config(args.config) # Set the instance url attribute -- Does not work with localhost on scratch (ALB) - load_data_for_current_species.instance_url = "http://localhost/sp/{0}_{1}/galaxy/".format( + load_data_for_current_species.instance_url = "http://localhost:{0}/sp/{1}_{2}/galaxy/".format( + load_data_for_current_species.config["http_port"], load_data_for_current_species.genus_lowercase, load_data_for_current_species.species) diff --git a/run_workflow_phaeoexplorer.py b/run_workflow_phaeoexplorer.py index 27645dc78642419f5674b97560f985b66a0fad78..cdc782c4418283706ed8af2f3ae53746d2e65b89 100644 --- a/run_workflow_phaeoexplorer.py +++ b/run_workflow_phaeoexplorer.py @@ -851,7 +851,8 @@ if __name__ == "__main__": # Parse the config yaml file run_workflow_for_current_organism.config = utilities.parse_config(args.config) # Set the instance url attribute --> TODO: the localhost rule in the docker-compose still doesn't work on scratchgmodv1 - run_workflow_for_current_organism.instance_url = "http://localhost/sp/{0}_{1}/galaxy/".format( + run_workflow_for_current_organism.instance_url = "http://localhost:{0}/sp/{1}_{2}/galaxy/".format( + run_workflow_for_current_organism.config["http_port"], run_workflow_for_current_organism.genus_lowercase, run_workflow_for_current_organism.species)