Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tests/common/google_sheet_test_cases.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class TestRow:
Conflations: set[str]
BiolinkClasses: set[str]
Prefixes: set[str]
OnlyTaxa: set[str]
Source: str
SourceURL: str
Notes: str
Expand Down Expand Up @@ -59,6 +60,7 @@ def from_data_row(row):
Conflations=set(row.get('Conflations', '').split('|')),
BiolinkClasses=set(row.get('Biolink Classes', '').split('|')),
Prefixes=set(row.get('Prefixes', '').split('|')),
OnlyTaxa=set(row.get('Only Taxa', '').split('|')),
Source=row.get('Source', ''),
SourceURL=row.get('Source URL', ''),
Notes=row.get('Notes', '')
Expand Down
2 changes: 2 additions & 0 deletions tests/nameres/test_nameres_from_gsheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ def test_label(target_info, test_row, test_category):
only_prefixes.append(prefix)
request['only_prefixes'] = "|".join(only_prefixes)
request['exclude_prefixes'] = "|".join(exclude_prefixes)
if test_row.OnlyTaxa:
request['only_taxa'] = '|'.join(list(test_row.OnlyTaxa))

test_summary = f"querying {nameres_url_lookup} with label '{label}' and biolink_type {biolink_class}"
response = requests.get(nameres_url_lookup, params=request)
Expand Down
2 changes: 1 addition & 1 deletion tests/targets.ini
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ NameResURL = https://name-resolution-sri-dev.apps.renci.org/

[localhost]
NodeNormURL = http://localhost:2434/
NameResURL = http://localhost:2435/
NameResURL = http://localhost:2433/