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

Extra FileCollectionItem information #59

Open
lpatiny opened this issue Nov 17, 2022 · 0 comments
Open

Extra FileCollectionItem information #59

lpatiny opened this issue Nov 17, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@lpatiny
Copy link
Member

lpatiny commented Nov 17, 2022

I would like to be able to store a custom information about the file directly in the FileCollectionItem.

I propose to add in FileCollectionItem an optional property meta of type Record<string, any>

It will allow for the following methods:

To copy this property if it is provided in the data source.

@targos Is it ok for you to add this property ?

This issue is related to cheminfo/nmrium#1775 for which we need to load a jcamp file that contains many spectra and we remember the index that should be considered

@lpatiny lpatiny added the enhancement New feature or request label Nov 17, 2022
@lpatiny lpatiny changed the title Extra file information Extra FileCollectionItem information Nov 17, 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
Projects
None yet
Development

No branches or pull requests

1 participant