-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
I ran the pygetpapers in GoogleColab
!pygetpapers -q "sealevel rise in Fenland" -k 10 -o "carbon_emi" -p
It was very slow (I think at EPMC) and finally gave
Traceback (most recent call last):
File "/usr/local/bin/pygetpapers", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.10/dist-packages/pygetpapers/pygetpapers.py", line 537, in main
callpygetpapers.create_argparser()
File "/usr/local/lib/python3.10/dist-packages/pygetpapers/pygetpapers.py", line 530, in create_argparser
self.runs_pygetpapers_for_given_args(self.query_namespace)
File "/usr/local/lib/python3.10/dist-packages/pygetpapers/pygetpapers.py", line 312, in runs_pygetpapers_for_given_args
api_handler.check_query_logic_and_run()
File "/usr/local/lib/python3.10/dist-packages/pygetpapers/pygetpapers.py", line 204, in check_query_logic_and_run
self.api.apipaperdownload(self.query_namespace)
File "/usr/local/lib/python3.10/dist-packages/pygetpapers/repository/europe_pmc.py", line 324, in apipaperdownload
self.run_eupmc_query_and_get_metadata(
File "/usr/local/lib/python3.10/dist-packages/pygetpapers/repository/europe_pmc.py", line 289, in run_eupmc_query_and_get_metadata
metadata_dictionary = self.query(
File "/usr/local/lib/python3.10/dist-packages/pygetpapers/repository/europe_pmc.py", line 114, in query
totalhits = retrieved_metadata_dictionary[RESPONSE_WRAPPER][HITCOUNT]
KeyError: 'responseWrapper'
Metadata
Metadata
Assignees
Labels
No labels