Skip to content

Commit

Permalink
is there a difference between URL display name and URL?
Browse files Browse the repository at this point in the history
  • Loading branch information
sjanssen2 committed Mar 11, 2024
1 parent 894363e commit 4955445
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions qp_dbbact/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@


req_params = {'deblur BIOM table': ('artifact', ['BIOM'])}
URL = urllib.parse.quote_plus('http://dbbact.org')
APIURL = urllib.parse.quote_plus('http://api.dbbact.org')
URL = 'http://dbbact.org'
APIURL = 'http://api.dbbact.org'

opt_params = {
'dbBact server URL': ['choice:["%s"]' % URL, URL],
'dbBact api URL': ['choice:["%s"]' % APIURL, APIURL],
'dbBact server URL': ['choice:["%s"]' % URL,
urllib.parse.quote_plus(URL)],
'dbBact api URL': ['choice:["%s"]' % APIURL,
urllib.parse.quote_plus(APIURL)],
'Minimum ASV sample occurence in feature-table': ['float', '0.333'],
'Wordcloud width': ['integer', '400'],
'Wordcloud height': ['integer', '200'],
Expand All @@ -39,8 +41,8 @@
outputs = {'dbBact wordcloud': 'WordCloud'}
dflt_param_set = {
'Defaults': {
'dbBact server URL': URL,
'dbBact api URL': APIURL,
'dbBact server URL': urllib.parse.quote_plus(URL),
'dbBact api URL': urllib.parse.quote_plus(APIURL),
'Minimum ASV sample occurence in feature-table': 0.333,
'Wordcloud width': 400,
'Wordcloud height': 200,
Expand Down

0 comments on commit 4955445

Please sign in to comment.