Skip to content
This repository has been archived by the owner on Jun 2, 2022. It is now read-only.

Commit

Permalink
Merge pull request #44 from MITLibraries/contact-info
Browse files Browse the repository at this point in the history
Add default WHOAS contact info
  • Loading branch information
ehanson8 committed Oct 23, 2020
2 parents c29e652 + a90daa2 commit aa01a11
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions hoard/sources/whoas.py
Expand Up @@ -59,8 +59,8 @@ def create_from_whoas_dim_xml(data: str, client: OAIClient) -> Dataset:
fields = record.findall(".//dim:field", namespace)
kwargs["contacts"] = [
Contact(
datasetContactName="NAME, FAKE",
datasetContactEmail="FAKE_EMAIL@EXAMPLE.COM",
datasetContactName="Woods Hole Open Access Server",
datasetContactEmail="whoas@whoi.edu",
)
]
notesText = ""
Expand Down
4 changes: 2 additions & 2 deletions tests/test_whoas.py
Expand Up @@ -46,8 +46,8 @@ def test_create_whoas_dim_xml(whoas_oai_server, dspace_oai_xml_series_name_recor
]
contacts = [
Contact(
datasetContactName="NAME, FAKE",
datasetContactEmail="FAKE_EMAIL@EXAMPLE.COM",
datasetContactName="Woods Hole Open Access Server",
datasetContactEmail="whoas@whoi.edu",
)
]
description = [
Expand Down

0 comments on commit aa01a11

Please sign in to comment.