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

Flatten directory structure in download #238

Open
jl-wynen opened this issue Oct 29, 2024 · 0 comments
Open

Flatten directory structure in download #238

jl-wynen opened this issue Oct 29, 2024 · 0 comments
Assignees

Comments

@jl-wynen
Copy link
Collaborator

At ESS files are no longer all in a dataset's source folder. Instead, some files have an absolute path in DataFile. Those paths should not be preserved locally.

The simplest way to handle this is to simply remove the entire path and store all files directly in target. We can add more customisation options later if needed.

One problem with this approach is that there can be multiple files with the same name. In this case, the client should refuse to download the files and require the user to filter out any files with duplicate names.

@jl-wynen jl-wynen self-assigned this Oct 29, 2024
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

No branches or pull requests

1 participant