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

Added extract-survey script to output survey info #701

Closed AlexanderFengFeng closed 6 years ago

AlexanderFengFeng commented 6 years ago

Outputs survey info to tsv

AlexanderFengFeng commented 6 years ago

Seems all my problems are "No module named pandas"

AlexanderFengFeng commented 6 years ago

@wasade would you be able to help me with this build fail

wasade commented 6 years ago

It looks like pandas is missing. What about adding pandas to setup.py?

AlexanderFengFeng commented 6 years ago

hm @wasade would you have any tips on how I could debug this?

AlexanderFengFeng commented 6 years ago

@wasade got it to work by setting psycopg2==2.7.4 instead of psycopg2<2.7.5

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.5%) to 64.639% when pulling aa7edd589884ca4d29627697c6bc81077be81829 on AlexanderFengFeng:extract-survey into 30bfbbb9b8c36b99219d7ac08732a9f6180aadaf on biocore:master.

AlexanderFengFeng commented 6 years ago

@wasade I added two methods to the AGDataAccess class which return known survey ids and languages and made three unit tests corresponding to the getAGSurveyDetails method and the two newly added methods. Do you have any suggestions for other unit tests/methods I could add?

wasade commented 6 years ago

Very nice!