Repository navigation
FIX: Strip PMC from ID - #58
Merged
Merged
Conversation
adelavega
commented
Aug 29, 2025
Collaborator
- Strip PMC from pmcid found in text
adelavega
added a commit
to neurostuff/autonima-results
that referenced
this pull request
Sep 8, 2026
…s was wrong The patch was written against pubget 0.0.8 in ~/.local, which is what the fallback ~/.local/bin/autonima runs. That is not the interpreter this project uses: pyproject.toml pins pubget for the pixi environment, which already had 0.0.9.dev including the get_pmcid fix from neuroquery/pubget#58. So most of the "pubget discards modern PMC records" failure was an artifact of invoking the fallback CLI rather than pixi run, against a pubget predating that fix. The same applies to ACE, which pyproject.toml already installs editable from ../ACE -- the scratch-directory install used earlier was unnecessary. One real bug survived in 0.0.9.dev and is fixed properly in the pubget repo instead, on branch fix/skip-unidentifiable-article: get_pmcid raises ValueError for unresolvable records and _extract_from_articleset did not catch it, so a single such article still aborted a whole download batch. pyproject.toml now takes pubget editable from ../pubget so that fix is live here. The ~/.local patch has been reverted to its shipped state. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
adelavega
added a commit
to neurostuff/autonima-results
that referenced
this pull request
Sep 25, 2026
…s was wrong The patch was written against pubget 0.0.8 in ~/.local, which is what the fallback ~/.local/bin/autonima runs. That is not the interpreter this project uses: pyproject.toml pins pubget for the pixi environment, which already had 0.0.9.dev including the get_pmcid fix from neuroquery/pubget#58. So most of the "pubget discards modern PMC records" failure was an artifact of invoking the fallback CLI rather than pixi run, against a pubget predating that fix. The same applies to ACE, which pyproject.toml already installs editable from ../ACE -- the scratch-directory install used earlier was unnecessary. One real bug survived in 0.0.9.dev and is fixed properly in the pubget repo instead, on branch fix/skip-unidentifiable-article: get_pmcid raises ValueError for unresolvable records and _extract_from_articleset did not catch it, so a single such article still aborted a whole download batch. pyproject.toml now takes pubget editable from ../pubget so that fix is live here. The ~/.local patch has been reverted to its shipped state. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.