You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an text file that contains many results for the same product of elementAnalysis.
I would like therefore to add many entries in the table spectra -> elementAnalysis
This can be done usually using 'addAttachments' that allows to attach many files at once.
My problem is that I have no attachment. Each entry contains only the metadata and therefore the test of the attachment fails (no field, buffer, etc.). Would it possible to add a flag 'onlyMeta' or something like that ?
for(letlineoflines){letmetadata={c: line[10],h: line[9],n: line[11],instrument: {model: '',manufacturer: ''}};consthash=md5(line).substring(0,8);result.addAttachment({jpath: ['spectra','elementalAnalysis'],
metadata,reference: hash// we ensure the unicity of the reference as well});}
The text was updated successfully, but these errors were encountered:
I have an text file that contains many results for the same product of elementAnalysis.
I would like therefore to add many entries in the table spectra -> elementAnalysis
This can be done usually using 'addAttachments' that allows to attach many files at once.
My problem is that I have no attachment. Each entry contains only the metadata and therefore the test of the attachment fails (no field, buffer, etc.). Would it possible to add a flag 'onlyMeta' or something like that ?
The text was updated successfully, but these errors were encountered: