Commit cfbd2145 authored by Jacek Lebioda's avatar Jacek Lebioda
Browse files

Merge branch '17-if-includedatasetresponses-is-a-string-the-results-are-not-returned' into 'master'

Resolve "If `includeDatasetResponses` is a string, the results are not returned"

Closes #17

See merge request elixir/elixir-beacon!10
parents c2044969 2db8d198
Pipeline #29732 passed with stage
in 1 minute and 10 seconds
......@@ -56,8 +56,10 @@ class Beacon(object):
response['datasetAlleleResponses'].append(allele_response)
def dispatch_query(self, query: dict, user_groups: List[str]):
dataset_ids = query.get('datasetIds', [])
beacon_id = self.settings.get_beacon_information().get('id')
dataset_ids = query.get('datasetIds', [])
if not isinstance(dataset_ids, list):
dataset_ids = [dataset_ids]
try:
validate_input(**query)
......
......@@ -24,7 +24,7 @@ def get_test_suite():
setup(
name='elixir_beacon',
version='2.0.0',
version='2.0.1',
description="ELIXIR Beacon",
author="Jacek Lebioda",
author_email='jacek.lebioda@uni.lu',
......
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