diff --git a/gga_run_workflow_phaeo_blast_interpro.py b/gga_run_workflow_phaeo_blast_interpro.py index 586139054286b89f40ef2fba28df3f12d1b9efbf..828dbc53f3b175730c1f0ed208e674c7291cbf86 100644 --- a/gga_run_workflow_phaeo_blast_interpro.py +++ b/gga_run_workflow_phaeo_blast_interpro.py @@ -298,26 +298,25 @@ class RunWorkflowBlastInterpro(gga_run_workflow_phaeo.RunWorkflow): blastp_ldda_id = ldda_id elif ldda_name.endswith(self.blastx_filename): blastx_ldda_id = ldda_id - + hda_list = self.instance.datasets.get_datasets() + print(hda_list) # Finding datasets in history (matching datasets names) for hda in hda_list: hda_name = hda["name"] 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: 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: 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: 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 logging.debug("Uploading datasets into history %s" % self.history_id)