Skip to content

Commit 8ad3f59

Browse files
committed
Add examples for V3 Data Schema
1 parent a4f48a0 commit 8ad3f59

9 files changed

Lines changed: 12 additions & 2 deletions

File tree

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,12 @@ The production server will run on localhost:1337.
9191
- You can find all the updates about the versions of NMRium React Wrapper and the used NMRium and Data Schema following the link: [Versions Update Protocol](#versions-update-protocol)
9292
- You can try out different versions of NMRium from this link: [https://cdn.nmrium.org/v0.33.0/index.html#/SamplesDashboard/4jld0i5hjhd/View](https://cdn.nmrium.org/v0.33.0/index.html#/SamplesDashboard/4jld0i5hjhd/View) by changing the version number in the link, for instance, to https://cdn.nmrium.org/v0.32.0/index.html#/SamplesDashboard/4jld0i5hjhd/View.
9393
- You can find the scripts for NMRium Data Schema Version following [this link](https://github.com/cheminfo/nmr-load-save/tree/master/src/migration).
94-
- You can find examples of the NMRium Data Schema versions in the folder [Data Schema Versions](/public/data/Data Schema Versions)
94+
- You can find the changes between the schema and its earlier version documented at the top of its corresponding script from the link above.
95+
- You can find examples of the NMRium Data Schema versions in the folder [Data Schema Versions](/public/data/Data%20Schema%20Versions/).
96+
- You can find the original NMR files used to generate the Data Schema examples [following this link](https://drive.google.com/drive/folders/1pzr-SBy3Zg4fN7F612XmodIRDS5KPr46).
9597

9698
## Wrapper Events
97-
NMRium wrapper uses a custom event to handle the communication between NMRium and the parent application, for that we create [MessageEvent](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent)s by using a [window interface](https://developer.mozilla.org/en-US/docs/Web/API/Window). We provide two events helper functions in /src/events/event.ts, which you can use by importing events
99+
NMRium wrapper uses a custom event to handle the communication between NMRium and the parent application, for that we create [MessageEvent](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent)s by using a [window interface](https://developer.mozilla.org/en-US/docs/Web/API/Window). We provide two events helper functions in /src/events/event.ts, which you can use by importing events.
98100

99101
```ts
100102
import events from '../events';

public/data/Data Schema Versions/V3/Bruker/13C.nmrium

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

public/data/Data Schema Versions/V3/Bruker/1H.nmrium

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

public/data/Data Schema Versions/V3/Bruker/cosy.nmrium

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

public/data/Data Schema Versions/V3/Bruker/dept.nmrium

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

public/data/Data Schema Versions/V3/Bruker/hmbc.nmrium

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

public/data/Data Schema Versions/V3/Bruker/hsqc.nmrium

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

public/data/Data Schema Versions/V3/JCAMP/13C.nmrium

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

public/data/Data Schema Versions/V3/JCAMP/1H.nmrium

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)