Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

controlled affiliations: fix USI affiliation name #880

Merged
merged 1 commit into from
Aug 10, 2022
Merged
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: 1 addition & 1 deletion data/affiliations.csv
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
8 Uni of Basel and Hospital Basel University Basle University Hospital Biozentrum Basel Canton Hospital Basel Cantonal Hospital Basel Friedrich Miescher Institut Friedrich Miescher Institute Kantonsspital Basel Kantonsspital Basle Swiss Tropical Institute Uni Basel Universitaet Basel Universität Basel Universitätsfrauenklinik Basel Universitätsspital Basel Université de Bâle University Children's Hospital Basel University Children's Hospital Basle University Clinic of Basle University Clinics Basel University Frauenklinik Basel University Hospital Basel university basel University Hospital Basle University Hospitals Basel University Hospitals Basle University of Basel University of Basle university hospital of basel university hospitals of basel
9 Uni of Zurich and Hospital Kantonsspital Zurich Kinderspital Zürich Universitaetsspital Zuerich Universität Zürich Universitäts Spital Zurich universitatsfrauenklinik zurich universitatskinderklinik zurich Universitätsklinik Zürich Universitätsspital Zürich University Children's Hospital Zuerich University Children's Hospital Zurich University Clinic Zurich University Hospital Zuerich University Hospital Zurich University Hospital Zürich University of Zuerich University of Zurich University of Zürich University Spital Zuerich university hospital of zurich university zurich zurich university university hospital of psychiatry zurich
10 Uni of St. Gallen Universität Sankt Gallen Universitat St Gallen Universität St. Gallen Université de Saint-Gall University of Sankt Gallen University of Sankt-Gallen University of St Gall University of St Gallen University of St. Gall University of St. Gallen University Sankt Gallen
11 Uni of Italian Switzerland Accademia di Architettura Mendrisio Bellinzona Dalle Molle Institute for Artificial Intelligence IDSIA Institute for Research in Biomedicine Bellinzona Istituto Dalle Molle di Studi sull’Intelligenza Artificiale Università della Svizzera Italiana Universita’ della Svizzera italiana University of Italian Switzerland University of Lugano University of Southern Switzerland USI
11 Università della Svizzera italiana Uni of Italian Switzerland Accademia di Architettura Mendrisio Bellinzona Dalle Molle Institute for Artificial Intelligence IDSIA Institute for Research in Biomedicine Bellinzona Istituto Dalle Molle di Studi sull’Intelligenza Artificiale Universita’ della Svizzera italiana University of Italian Switzerland University of Lugano University of Southern Switzerland USI
12 Uni of Lucerne Universität Luzern University of Lucerne
13 HES-SO (Western Switzerland) Haute école spécialisée de Suisse occidentale University of Applied Sciences of Western Switzerland Fachhochschule Westschweiz University of Applied Sciences and Arts Western Switzerland HESSO HES-SO University of Applied Sciences Western Switzerland Western Switzerland University of Applied Sciences university of applied sciences and arts of western switzerland
14 HSLU (Lucerne) Hochschule Luzern Lucerne University of Applied Sciences and Arts HSLU Luzern University of Applied Sciences and Arts
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/affiliations/test_affiliation_resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ def test_resolve():

test_string = (
'Institute for Research in Biomedicine (IRB), '
'Faculty of Biomedical Sciences, Università della Svizzera italiana, '
'Faculty of Biomedical Sciences, USI, '
'Switzerland - Graduate School for Cellular and Biomedical Sciences, '
'University of Bern, 3012 Bern, Switzerland')
assert affiliation_resolver.resolve(test_string) == [
'Uni of Bern and Hospital', 'Uni of Italian Switzerland'
'Uni of Bern and Hospital', 'Università della Svizzera italiana'
]

test_string = (
Expand Down