Skip to content

Commit

Permalink
Merge pull request #86 from seasidesparrow/eissn_copernicus.20240213
Browse files Browse the repository at this point in the history
fix: copernicus electronic issn captured correctly
  • Loading branch information
seasidesparrow committed Feb 14, 2024
2 parents 0938a1c + 74b2ef0 commit ad90d2f
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion adsingestp/parsers/copernicus.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def _parse_ids(self):
issns.append(("print", self.input_metadata.find("issn").get_text()))

if self.input_metadata.find("eissn"):
issns.append(("electronic", self.input_metadata.find("issn").get_text()))
issns.append(("electronic", self.input_metadata.find("eissn").get_text()))

self.base_metadata["issn"] = issns

Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ dev = [
'semantic-release==0.1.0',
]
docs = [
'Sphinx==4.3.1',
'myst-parser==0.15.2',
'sphinx-rtd-theme==1.0.0'
'Sphinx==7.2.6',
'myst-parser==2.0.0',
'sphinx-rtd-theme==2.0.0'
]


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
{
"pubtype": "electronic",
"issnString": "1866-3508"
"issnString": "1866-3516"
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
{
"pubtype": "electronic",
"issnString": "2628-3697"
"issnString": "2628-3719"
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
{
"pubtype": "electronic",
"issnString": "2194-9042"
"issnString": "2194-9050"
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
{
"pubtype": "electronic",
"issnString": "1682-1750"
"issnString": "2194-9034"
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion tests/stubdata/output/copernicus_wes-8-1625-2023.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
"pubtype": "print"
},
{
"issnString": "2366-7443",
"issnString": "2366-7451",
"pubtype": "electronic"
}
],
Expand Down

0 comments on commit ad90d2f

Please sign in to comment.