def last_author_female(pmids): first_names = last_author_first_name(pmids) female = gender.is_female(first_names) return (female)
def test_is_female(self): response = gender.is_female(gold_query) assert_equals(response, ['1', '0', '1'])
def last_author_female(pmids): first_names = last_author_first_name(pmids) female = gender.is_female(first_names) return(female)