Describe the bug
When the sample folder only identifies the generic JCAMP exchange format, the vendor information from NMRium metadata is not being utilized, resulting in vendor-identifiable spectra being incorrectly categorized as generic JCAMP files.
To Reproduce
Steps to reproduce the behavior:
- Upload or process NMR data that includes JCAMP files with vendor metadata (manufacturer/vendor/title) in NMRium format
- Observe that files are categorized as generic JCAMP rather than being attributed to their specific vendor
- Check vendor statistics or file categorization
- See that vendor-identifiable spectra are counted incorrectly
Expected behavior
When the sample folder identifies the generic JCAMP exchange format, the system should:
- Check NMRium manufacturer/vendor/title metadata for vendor information
- Use the vendor metadata to properly attribute the spectra before settling on the JCAMP label
- Only label files as "Generic (JCAMP)" when no vendor metadata is available
- Count vendor-identifiable spectra correctly in statistics
Describe the bug
When the sample folder only identifies the generic JCAMP exchange format, the vendor information from NMRium metadata is not being utilized, resulting in vendor-identifiable spectra being incorrectly categorized as generic JCAMP files.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When the sample folder identifies the generic JCAMP exchange format, the system should: