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

data_path should be auto populated #54

Open
2 tasks
cmdoret opened this issue Jun 5, 2024 · 0 comments
Open
2 tasks

data_path should be auto populated #54

cmdoret opened this issue Jun 5, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@cmdoret
Copy link
Member

cmdoret commented Jun 5, 2024

When adding a data object into an existing MODO, the data_path property indicates the filepath inside the object. This must currently be filled by the user, but in most use cases, it will be the same filename as input. We should use the input filename as default value.

Objective: Use a default value, either from the input filename, or by combining id and extension.

Requirements:

  • Check behaviour in case of filename collision
  • Change the API to use the input filename if collisions are accounted for.
@cmdoret cmdoret added the enhancement New feature or request label Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant