Skip to content

removed unlink of pdf files #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 22, 2025
Merged

removed unlink of pdf files #31

merged 2 commits into from
Apr 22, 2025

Conversation

blazickjp
Copy link
Owner

@blazickjp blazickjp commented Apr 22, 2025

Sweep Summary Sweep

Removes PDF file deletion after conversion to markdown to preserve original PDF files in the storage directory.

  • Removed paper_pdf_path.unlink() call in src/arxiv_mcp_server/resources/papers.py to prevent deletion of PDF files after conversion.
  • Removed pdf_path.unlink() call in src/arxiv_mcp_server/tools/download.py to keep PDF files after successful conversion to markdown.

Ask Sweep AI questions about this PR

Dropping the removal of PDF files.

@blazickjp blazickjp linked an issue Apr 22, 2025 that may be closed by this pull request
@blazickjp blazickjp merged commit ae86ad0 into main Apr 22, 2025
7 checks passed
12458 pushed a commit to 12458/arxiv-mcp-server that referenced this pull request Jul 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

keep original PDF file when convert PDF to markdown Downloaded papers automatically convert to md file? Can we keep it as pdf file?
1 participant