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

hda_id get error log

parent 58c3c821
No related branches found
No related tags found
2 merge requests!47v2.5.0,!34WIP: blast and interpro workflow
...@@ -298,26 +298,25 @@ class RunWorkflowBlastInterpro(gga_run_workflow_phaeo.RunWorkflow): ...@@ -298,26 +298,25 @@ class RunWorkflowBlastInterpro(gga_run_workflow_phaeo.RunWorkflow):
blastp_ldda_id = ldda_id blastp_ldda_id = ldda_id
elif ldda_name.endswith(self.blastx_filename): elif ldda_name.endswith(self.blastx_filename):
blastx_ldda_id = ldda_id blastx_ldda_id = ldda_id
hda_list = self.instance.datasets.get_datasets() hda_list = self.instance.datasets.get_datasets()
print(hda_list)
# Finding datasets in history (matching datasets names) # Finding datasets in history (matching datasets names)
for hda in hda_list: for hda in hda_list:
hda_name = hda["name"] hda_name = hda["name"]
hda_id = hda["id"] hda_id = hda["id"]
if hda_name == self.genome_filename:
genome_hda_id = hda_id
if hda_name == self.gff_filename:
gff_hda_id = hda_id
if hda_name == self.transcripts_filename:
transcripts_hda_id = hda_id
if hda_name == self.proteins_filename :
proteins_hda_id = hda_id
if hda_name == self.blastp_filename: if hda_name == self.blastp_filename:
blastp_hda_id = hda_id blastp_hda_id = hda_id
print("blastp_hda_name: %s" % hda_name)
print("blastp_hda_id: %s" % hda_id)
if hda_name == self.blastx_filename: if hda_name == self.blastx_filename:
blastx_hda_id = hda_id blastx_hda_id = hda_id
print("blastx_hda_name: %s" % hda_name)
print("blastx_hda_id: %s" % hda_id)
if hda_name == self.interpro_filename: if hda_name == self.interpro_filename:
interproscan_hda_id = hda_id interproscan_hda_id = hda_id
print("interpro_hda_name: %s" % hda_name)
print("interpro_hda_id: %s" % hda_id)
# Import each dataset into history if it is not imported # Import each dataset into history if it is not imported
logging.debug("Uploading datasets into history %s" % self.history_id) logging.debug("Uploading datasets into history %s" % self.history_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