nmrium icon indicating copy to clipboard operation
nmrium copied to clipboard

Using FileCollection to generate NMReData

Open lpatiny opened this issue 3 years ago • 4 comments

We are currently working on a refactor of https://github.com/cheminfo/filelist-utils/pull/35

We should be able to keep track of FileCollection in nmr-load-save in order to be able to generate the NMReData file.

lpatiny avatar Sep 26 '22 17:09 lpatiny

do you mean to generate a fileCollection of files comes from drag-n-dropped into nmrium, in order to generate a nmredata after?

jobo322 avatar Dec 22 '22 14:12 jobo322

@hamed-musallam @lpatiny It is possible related with https://github.com/cheminfo/nmr-load-save/pull/110 if we will export nmredata from nmrium, we should keep the fileCollection after load the spectra. So we should not pass only the BaseFile[] into the { source: { files }} object. WDT?

jobo322 avatar Jan 27 '23 20:01 jobo322

currently, it is not possible to generate a nmrRecord, because the file is not keeped after conversion.

We could generate a nmrRecord from the nmrium state but the original files will not be there.

or we could add the option to generate a nmredata (sdf file) and the user can complete the nmrRecord with the original data.

jobo322 avatar Feb 23 '23 21:02 jobo322

we could fulfill the nmrRecord with jcamp-dx files generated by the nmr data of the state

jobo322 avatar Sep 18 '23 22:09 jobo322