Skip to content

JCAMP file not processed in ChemSpectra (works in NMRium) #253

@Nicolass67

Description

@Nicolass67

Description

A JCAMP-DX file can be processed and visualized correctly in NMRium (both in ELN and Repository), but fails to load in ChemSpectra.

Steps to reproduce

  • Load the attached JCAMP file in ChemSpectra → fails.
  • Load the same file in NMRium → works as expected.

Expected behavior

ChemSpectra should handle the file in the same way as NMRium.

Attachment

3c, 1H NMR.zip

Additional context

In the dataset, the 1/ directory does not contain processed Bruker files (1r, 1i) produced via procs. Only the raw FID is present at the root. ChemSpectra should provide a fallback path that reconstructs the processed spectrum from the FID using the acquisition/processing parameters (acqus, procs, etc.), so the spectrum can be displayed even when 1r/1i are missing.

Proposed acceptance criteria

  • JCAMPs that load in NMRium also load in ChemSpectra without errors.
  • When 1r/1i are missing, ChemSpectra reconstructs the spectrum from the raw FID using procs/acqus parameters.
  • The generated display matches the NMRium rendering within reasonable tolerance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions