Skip to content

Commit 40707b9

Browse files
authored
Merge pull request #15 from brain-image-library/7-new-metric-request-award-numbers
Update setup.py
2 parents 8502b11 + 95fc270 commit 40707b9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

braininventory/get.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ def __get_contributor(df):
5454
def __get_affilation(df):
5555
return df["affiliation"].value_counts().to_dict()
5656

57+
def __get_awards(df):
58+
return df["award_number"].unique()
5759

5860
def __get_award_number(df):
5961
return df["award_number"].value_counts().to_dict()
@@ -86,7 +88,6 @@ def __get_technique(df):
8688
def __get_locations(df):
8789
return df["locations"].value_counts().to_dict()
8890

89-
9091
def __get_contributors(df):
9192
"""
9293
This returns an array of contributor names from the contributorname column.

0 commit comments

Comments
 (0)