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

For the MULTI_INPUT_JSON value, also allow JSONL #91

Merged
merged 3 commits into from
Nov 24, 2024
Merged

Conversation

hannahbast
Copy link
Member

@hannahbast hannahbast commented Nov 24, 2024

So far, MULTI_INPUT_JSON had to be a JSON string. When producing the string programatically for a large number of directories or files, that can be cumbersome because of the leading [ and trailing ] and the separating commas.

To make this easier, the string may now also be in JSONL format (one JSON per line). It will then simply be transformed to a JSON array in the obvious way.

As a proof of concept and as an example, the Qleverfile for DBLP is adapted accordingly.

So far, `MULTI_INPUT_JSON` had to be a JSON string. When producing the
string programatically for a large number of directories or files, that
can be a bit annoying because of the leading `[` and trailing `]` and
the separating commas.

To make this easier, the string may now also be in JSONL format (one
JSON per line). It will then simply be transformed to a JSON array in
the obvious way.

As a proof of concept and as an example, the Qleverfile for DBLP was
adapted accordingly.
@hannahbast hannahbast changed the title For MULTI_INPUT_JSON also allow JSONL For the MULTI_INPUT_JSON value, also allow JSONL Nov 24, 2024
@hannahbast hannahbast merged commit c6f9643 into main Nov 24, 2024
4 checks passed
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