biocore / american-gut-web

The website for the American Gut Project participant portal
BSD 3-Clause "New" or "Revised" License
5 stars 24 forks source link

bug: selection of question #644

Open sjanssen2 opened 7 years ago

sjanssen2 commented 7 years ago

Is this a bug in amgut/lib/data_access/survey.py def fetch_survey()? We might need to restrict the returned questions to the correct group they belong to:

sjanssen2 commented 7 years ago

I think I found a bug in amgut/lib/data_access/survey.py function fetch_survey(): I added the restriction that only those answers should be enumerated, that belong to the correct "survey_group". Tests are passing, but since our coverage is low I'd like you to ask to run some manual inspections.

wasade commented 7 years ago

I'm not sure I totally understand, can you elaborate a little more please?