Skip to content
Snippets Groups Projects
Commit 476f437d authored by Loraine Gueguen's avatar Loraine Gueguen
Browse files

fix config

parent 07d45756
No related branches found
No related tags found
2 merge requests!24Run wf,!18Release v2.1.0
......@@ -171,7 +171,7 @@ class RunWorkflowJbrowse(runWorkflowPhaeo.RunWorkflow):
return org_id
def import_datasets_into_history(self):
def import_datasets_into_history(self, config):
"""
Find datasets in a library, get their ID and import them into the current history if they are not already
"""
......@@ -187,8 +187,8 @@ class RunWorkflowJbrowse(runWorkflowPhaeo.RunWorkflow):
proteins_hda_id = None
gio = GalaxyInstance(url=self.instance_url,
email=self.config[constants.CONF_GALAXY_DEFAULT_ADMIN_EMAIL],
password=self.config[constants.CONF_GALAXY_DEFAULT_ADMIN_PASSWORD]
email=config[constants.CONF_GALAXY_DEFAULT_ADMIN_EMAIL],
password=config[constants.CONF_GALAXY_DEFAULT_ADMIN_PASSWORD]
)
prj_lib = gio.libraries.get_previews(constants.GALAXY_LIBRARY_NAME)
if len(prj_lib) == 1:
......@@ -284,7 +284,7 @@ def prepare_history_and_get_wf_param(sp_dict_list, main_dir, config):
run_workflow_for_current_organism.set_galaxy_instance(config)
run_workflow_for_current_organism.set_history()
run_workflow_for_current_organism.install_individual_tools()
run_workflow_for_current_organism.import_datasets_into_history()
run_workflow_for_current_organism.import_datasets_into_history(config)
analyses_dict_list = run_workflow_for_current_organism.get_analyses()
......
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