Skip to content

Commit 25c7d77

Browse files
authored
Merge pull request #18 from brain-image-library/6-new-metric-request
Update get.py
2 parents 46f3635 + 71e64e2 commit 25c7d77

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

braininventory/get.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,15 @@ def report():
9999
report['is_reachable'] = df['URL'].apply(__is_reachable)
100100

101101
return report
102+
def __get_project_names(df):
103+
'''
104+
Gets the unique list of project names.
105+
106+
Input: dataframe
107+
Output: list
108+
'''
109+
return df['project'].unique()
110+
102111

103112
#
104113
def __get_list_of_projects(df):

0 commit comments

Comments
 (0)