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

direct jsonl symlink to jsonl_path #56

Merged
merged 3 commits into from
Apr 23, 2024
Merged

Conversation

eimrek
Copy link
Member

@eimrek eimrek commented Apr 23, 2024

The jsonl_path argument in

def convert_archive(archive_path: Path, jsonl_path: Path | None = None) -> Path:

is ignored for "direct jsonl" files and the original name (e.g. example.jsonl) is retained. One solution is to make a symlink to the original file based on this argument as i'm relying on the default output name being optimade.jsonl.

@eimrek eimrek requested a review from ml-evs April 23, 2024 14:24
Copy link
Collaborator

@ml-evs ml-evs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@eimrek eimrek merged commit a224506 into main Apr 23, 2024
1 check passed
@eimrek eimrek deleted the eimrek/direct-jsonl-symlink branch April 23, 2024 20:16
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.

2 participants