Commit d07837cb authored by Eric Enns's avatar Eric Enns

Updated to include reference to issue

parent 2ff26a11
Pipeline #3460 canceled with stage
in 11 minutes
......@@ -39,7 +39,6 @@ class IridaImport:
CONFIG_FILE = 'config.ini'
XML_FILE_SAMPLE = 'irida_import.xml.sample'
XML_FILE = 'irida_import.xml'
CLIENT_ID_PARAM = 'galaxyClientID'
folds = {}
def __init__(self):
......@@ -663,8 +662,11 @@ class IridaImport:
params = inputs.findall('param')
for param in params:
if param.get('name') == self.CLIENT_ID_PARAM:
if param.get('name') == 'galaxyClientID':
param.set('value', self.CLIENT_ID)
# manually set GALAXY_URL instead of using galaxy's baseurl type
# so that sites with SSL will work
# https://github.com/phac-nml/irida-galaxy-importer/issues/1
if param.get('name') == 'galaxyCallbackUrl':
previous_value = param.get('value')
param.set('value', re.sub(r'GALAXY_URL', self.GALAXY_URL, previous_value))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment