Skip to content

Commit

Permalink
manual changes
Browse files Browse the repository at this point in the history
  • Loading branch information
iris-garden committed Jan 9, 2024
1 parent 1579cd1 commit 9399fd6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion hail/python/hailtop/auth/flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ def receive_callback(self, request: aiohttp.web.Request, flow_dict: dict) -> Flo
flow.redirect_uri = flow_dict['callback_uri']
flow.fetch_token(code=request.query['code'])
token = google.oauth2.id_token.verify_oauth2_token(
flow.credentials.id_token, google.auth.transport.requests.Request() # type: ignore
flow.credentials.id_token, # type: ignore
google.auth.transport.requests.Request() # type: ignore
)
email = token['email']
return FlowResult(email, email, token.get('hd'), token)
Expand Down
2 changes: 1 addition & 1 deletion hail/src/test/resources/makeTestInfoScore.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def transformDosage(dx):
l1 = int((w0 + w1) * 32768 / sumDx + 0.5) - l0
l2 = 32768 - l0 - l1
except:
print dx
print(dx)
sys.exit()
return [l0 / 32768.0, l1 / 32768.0, l2 / 32768.0]

Expand Down

0 comments on commit 9399fd6

Please sign in to comment.