Skip to content

Commit

Permalink
feat: jcamp parser append all info and meta information
Browse files Browse the repository at this point in the history
  • Loading branch information
lpatiny committed Sep 17, 2024
1 parent 59325cb commit 035e12a
Show file tree
Hide file tree
Showing 8 changed files with 2,025 additions and 110 deletions.
2 changes: 1 addition & 1 deletion src/SpectraProcessor.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export class SpectraProcessor {
return;
}
let parsed = parseJcamp(jcamp);
let meta = { ...parsed.meta, ...options.meta };
let meta = { ...parsed.info, ...parsed.meta, ...options.meta };
this.addFromData(parsed.data, { meta, id: options.id });
}

Expand Down
Loading

0 comments on commit 035e12a

Please sign in to comment.