Skip to content
Snippets Groups Projects

Release v2.1.0

Merged Loraine Gueguen requested to merge dev into master
Compare and Show latest version
1 file
+ 2
5
Compare changes
  • Side-by-side
  • Inline
+ 2
5
@@ -69,11 +69,13 @@ class SpeciesData:
self.date = datetime.today().strftime("%Y-%m-%d")
self.origin = parameters_dictionary_description[constants.ORG_PARAM_DESC_ORIGIN]
self.performed = parameters_dictionary_data[constants.ORG_PARAM_DATA_PERFORMED_BY]
self.picture_path = parameters_dictionary_description[constants.ORG_PARAM_DESC_PICTURE_PATH]
if parameters_dictionary_data[constants.ORG_PARAM_DATA_GENOME_VERSION] == "":
self.genome_version = "1.0"
else:
self.genome_version = str(parameters_dictionary_data[constants.ORG_PARAM_DATA_GENOME_VERSION])
if parameters_dictionary_data[constants.ORG_PARAM_DATA_OGS_VERSION] == "":
self.ogs_version = "1.0"
else:
@@ -92,11 +94,6 @@ class SpeciesData:
self.set_service_attribute(self.blast, constants.ORG_PARAM_SERVICES_BLAST, parameters_dictionary)
self.set_service_attribute(self.go, constants.ORG_PARAM_SERVICES_GO, parameters_dictionary)
if constants.ORG_PARAM_DESC_PICTURE_PATH in parameters_dictionary_description.keys():
self.picture_path = parameters_dictionary_description[constants.ORG_PARAM_DESC_PICTURE_PATH]
else:
self.picture_path = None
self.genus_lowercase = self.genus.lower()
self.species_lower = self.species.lower()
self.genus_uppercase = self.genus[0].upper() + self.genus_lowercase[1:]
Loading