Skip to content

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

Open
nlisgo wants to merge 2 commits intomainfrom
fetch-and-parse-msid
Open

feat: add support for fetching specific DocMap by manuscript ID#44
nlisgo wants to merge 2 commits intomainfrom
fetch-and-parse-msid

Conversation

@nlisgo
Copy link
Copy Markdown
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.

1 participant