Skip to content

Unusual behaviour defining variables within function call #406

Answered by evansd
elsie-h asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @elsie-h, thanks for the very thorough issue description. It's definitely a bug with cohortextractor and not an issue with your code. I was in the process of writing up a ticket for this and explaining that we probably wouldn't be able to look at this for a while when I realised there was actually a quick fix for it!

I've created a PR but it will need to get reviewed and merged and then you'll need to run opensafely pull cohortextractor before you can use the new version of the code:
opensafely-core/cohort-extractor#651

It should be live by the end of the day though.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@elsie-h
Comment options

elsie-h Sep 15, 2021
Collaborator Author

Comment options

You must be logged in to vote
2 replies
@evansd
Comment options

@elsie-h
Comment options

elsie-h Sep 15, 2021
Collaborator Author

Answer selected by StevenMaude
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants