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

Added date in gff file

parent b9d17f94
No related branches found
No related tags found
2 merge requests!11Workflow v2,!9Release 2.0 (merge dev to master)
This commit is part of merge request !11. Comments created here will be created in the context of that merge request.
......@@ -611,7 +611,6 @@ class RunWorkflow(speciesData.SpeciesData):
for e in v2:
if type(e) == dict:
if "transcripts" in e["name"]:
# the attributes datasets is set in the function get_instance_attributes()
self.datasets["transcripts_file"] = e["ldda_id"]
self.datasets_name["transcripts_file"] = e["name"]
elif "proteins" in e["name"]:
......@@ -637,7 +636,7 @@ class RunWorkflow(speciesData.SpeciesData):
dataset_id = dataset["id"]
if dataset_name == "{0}_v{1}.fasta".format(self.dataset_prefix, self.genome_version):
genome_hda_id = dataset_id
if dataset_name == "{0}_OGS{1}.gff".format(self.dataset_prefix, self.ogs_version):
if dataset_name == "{0}_OGS{1}_{2}.gff".format(self.dataset_prefix, self.ogs_version, self.date):
gff_hda_id = dataset_id
if dataset_name == "{0}_OGS{1}_transcripts.fasta".format(self.dataset_prefix, self.ogs_version):
transcripts_hda_id = dataset_id
......
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