Skip to content
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

feat: add support for fetching specific DocMap by manuscript ID #44

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

nlisgo
Copy link
Member

@nlisgo nlisgo commented Dec 11, 2023

This commit updates the fetch-and-parse method to allow fetching of specific DocMap data by manuscript ID. It also refactors the processing of DocMap data into a separate function for better code organization.

These adjustments have been really helpful for debugging on issues experienced in parsing DocMap data.

This commit updates the fetch-and-parse method to allow fetching of specific DocMap data by manuscript ID. It also refactors the processing of DocMap data into a separate function for better code organization.
@nlisgo nlisgo requested a review from a team December 11, 2023 20:08
Improve the handling of command-line arguments in fetch-and-parse.ts.
Now, the script accepts only numeric manuscript IDs and raw JSON input.
If the input is not a numeric ID, it is treated as a JSON object,
parsed and processed.
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.

None yet

1 participant