Skip to content

Commit

Permalink
Update calling syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerry committed Jun 19, 2020
1 parent 8e6327e commit ee4ee75
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/web/beacon/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def query_dataset(self, chrom, start, ref, alt, assembly, dataset):
body={"query": {"query_string": {"query": q}}},
_source=[dataset]
)
res = self.query_transform.transform(res, dotdict(dotfield=True))
res = self.result_transform.transform(res, dotdict(dotfield=True))
if res and res.get('total') > 0:
out = self.format_output(res, out, q_type)

Expand Down Expand Up @@ -149,11 +149,11 @@ def prepare(self):

def get(self):
self.get_beacon_info()
self.ga_event_object_ret['action'] = 'beacon_info_post'
self.event['action'] = 'beacon_info_post'

def post(self):
self.get_beacon_info()
self.ga_event_object_ret['action'] = 'beacon_info_post'
self.event['action'] = 'beacon_info_post'

def get_beacon_info(self):
# Boilerplate Beacon Info
Expand Down

0 comments on commit ee4ee75

Please sign in to comment.