Skip to content
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 hepcrawl/parsers/elsevier.py
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ def get_reference_iter(self, ref_node):
yield builder.obj

def attach_fulltext_document(self, file_name, url):
self.builder.add_document(file_name, url, fulltext=True, hidden=True)
self.builder.add_document(file_name, url, fulltext=True, hidden=True, material=self.material)

def get_identifier(self):
return self.dois[0]["doi"]
Expand Down
1 change: 1 addition & 0 deletions tests/unit/responses/elsevier/aphy.2001.6176_expected.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ publication_date: '2001-11-01'
collaborations: []
documents:
- key: aphy.2001.6176.xml
material: publication
url: http://example.org/aphy.2001.6176.xml
source: Elsevier Inc.
fulltext: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ publication_date: '2021-08-27'
collaborations: []
documents:
- key: j.aim.2021.107831.xml
material: publication
url: http://example.org/j.aim.2021.107831.xml
source: Elsevier Inc.
fulltext: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ publication_date: '2021-03'
collaborations: []
documents:
- key: j.cpc.2020.107740.xml
material: publication
url: http://example.org/j.cpc.2020.107740.xml
source: Elsevier B.V.
fulltext: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ publication_date: '2020-04-01'
collaborations: ['NA61/SHINE, CBM and BM@N collaborations']
documents:
- key: j.nima.2019.162728.xml
material: publication
url: http://example.org/j.nima.2019.162728.xml
source: Elsevier B.V.
fulltext: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ publication_date: '2020-04-01'
collaborations: ['on behalf of LHCb Muon group']
documents:
- key: j.nima.2019.162787.xml
material: publication
url: http://example.org/j.nima.2019.162787.xml
source: Elsevier B.V.
fulltext: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ publication_date: '2020-01-15'
collaborations: []
documents:
- key: j.nimb.2019.04.063.xml
material: publication
url: http://example.org/j.nimb.2019.04.063.xml
source: Elsevier B.V.
fulltext: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ publication_date: 2020-10
collaborations: []
documents:
- key: j.nuclphysa.2020.121991.xml
material: publication
url: http://example.org/j.nuclphysa.2020.121991.xml
source: Elsevier B.V.
fulltext: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ publication_date: 2020-10
collaborations: []
documents:
- key: j.nuclphysa.2020.121992.xml
material: publication
url: http://example.org/j.nuclphysa.2020.121992.xml
source: Elsevier B.V.
fulltext: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ publication_date: '2020-04-15'
collaborations: []
documents:
- key: j.scib.2020.01.008.xml
material: publication
url: http://example.org/j.scib.2020.01.008.xml
source: Elsevier B.V.
fulltext: true
Expand Down