We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcd72bc commit 54a3d0bCopy full SHA for 54a3d0b
pyrxiv/cli/cli.py
@@ -131,7 +131,8 @@ def run_search_and_download(
131
132
# Save the paper metadata to an HDF5 file
133
hdf_path = download_path / f"{paper.id}.hdf5"
134
- save_paper_to_hdf5(paper=paper, pdf_path=pdf_path, hdf_path=hdf_path)
+ with h5py.File(hdf_path, "a") as h5f:
135
+ _ = paper.to_hdf5(hdf_file=h5f)
136
137
# Deleting the PDF file after storing it in HDF5
138
if not download_pdfs:
0 commit comments