Open lpatiny opened 2 years ago
do you mean to generate a fileCollection of files comes from drag-n-dropped into nmrium, in order to generate a nmredata after?
@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?
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.
we could fulfill the nmrRecord with jcamp-dx files generated by the nmr data of the state
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.