cheminfo / cheminfo/nmrium

refactor 'view' object

Open
#2,162 0 comments 0 reactions 1 assignee Claimed by @hamed-musallam View on GitHub
Dominant language
TypeScript
Stars
80
Forks
34
Avg merge
2d 9h
Merged PRs (30d)
36

Description

> Ok, then we should have 3 objects

No, we should have everything inside of view:
```
view: {
nuclei1D: { // Record
'1H': {},
'13C': {},
},
nuclei2D: { // Record
'1H,1H': {},
},
spectra1D: { // Record
uuid1: {},
uuid2: {},
},
spectra2D: { // Record
uuid3: {},
uuid4: {},
},
prop1, // other settings that don't depend on nucleus or spectrum
prop2,
}
```

_Originally posted by @targos in https://github.com/cheminfo/nmrium/pull/2135#discussion_r1109643140_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.