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

Add option for associating columns to metadata properties in the csv plugin #326

Open
jesper-friis opened this issue Aug 22, 2022 · 0 comments
Labels
enhancement New feature or request prioritised Prioritised for current sprint

Comments

@jesper-friis
Copy link
Collaborator

As done in the excel parser in OTEAPI, we want a simple way to:

  1. select the columns we want to read
  2. associate the columns to properties in the data model

Add an option columns that takes a dict as argument, which maps the column number/name in the CSV file to the property name in the data model.

In some cases, it might be more convenient to provide a sequence or comma-separated string with new column names matching the property names. We could consider to also support that. Columns names left out (empty string) would be ignored.

Needed by Simon in BIG-MAP.

@jesper-friis jesper-friis added enhancement New feature or request prioritised Prioritised for current sprint labels Aug 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request prioritised Prioritised for current sprint
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant