Skip to content
Snippets Groups Projects
Commit a42920d6 authored by Arthur Le Bars's avatar Arthur Le Bars
Browse files

parameters fix

parent 17085a08
No related branches found
No related tags found
2 merge requests!3release 1.0.1,!2Corrections cloud
...@@ -492,7 +492,7 @@ class RunWorkflow(speciesData.SpeciesData): ...@@ -492,7 +492,7 @@ class RunWorkflow(speciesData.SpeciesData):
# In case of the Jbrowse workflow, we unfortunately have to manually edit the parameters instead of setting them # In case of the Jbrowse workflow, we unfortunately have to manually edit the parameters instead of setting them
# as runtime values, using runtime parameters makes the tool throw an internal critical error ("replace not found" error) # as runtime values, using runtime parameters makes the tool throw an internal critical error ("replace not found" error)
# Scratchgmod test: need "http" (or "https"), the hostname (+ port) # Scratchgmod test: need "http" (or "https"), the hostname (+ port)
if not self.config["menu_url"]: if "menu_url" not in self.config.keys():
jbrowse_menu_url = "https://{hostname}/sp/{genus_sp}/feature/{Genus}/{species}/{id}".format(hostname=self.config["hostname"], genus_sp=self.genus_species, Genus=self.genus_uppercase, species=self.species, id="{id}") jbrowse_menu_url = "https://{hostname}/sp/{genus_sp}/feature/{Genus}/{species}/{id}".format(hostname=self.config["hostname"], genus_sp=self.genus_species, Genus=self.genus_uppercase, species=self.species, id="{id}")
else: else:
jbrowse_menu_url = self.config["menu_url"] jbrowse_menu_url = self.config["menu_url"]
......
...@@ -80,6 +80,7 @@ class SpeciesData: ...@@ -80,6 +80,7 @@ class SpeciesData:
self.datasets = dict() self.datasets = dict()
self.config = None # Custom config used to set environment variables inside containers self.config = None # Custom config used to set environment variables inside containers
self.species_folder_name = "_".join(utilities.filter_empty_not_empty_items([self.genus_lowercase.lower(), self.species.lower(), self.strain.lower(), self.sex.lower()])["not_empty"]) self.species_folder_name = "_".join(utilities.filter_empty_not_empty_items([self.genus_lowercase.lower(), self.species.lower(), self.strain.lower(), self.sex.lower()])["not_empty"])
self.species_folder_name = self.species_folder_name .replace("-", "_")
self.existing_folders_cache = {} self.existing_folders_cache = {}
self.bam_metadata_cache = {} self.bam_metadata_cache = {}
......
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