Skip to content

Commit

Permalink
fix: reorder sub matrices from bruker data n fix varian loading (#2847)
Browse files Browse the repository at this point in the history
* fix: experiment array from varian data

* chore: new pre-release of nmr-load-save

* fix: not generate spectrum from wrong resurrection

* chore: preRelease avoid wrong ACS strings

* Revert "fix: not generate spectrum from wrong resurrection"

This reverts commit 49be872.

* chore: new release nmr-load-save n nmr-processing

* refactor: workspace object

---------

Co-authored-by: hamed musallam <hamed.musallam@gmail.com>
  • Loading branch information
jobo322 and hamed-musallam committed Feb 2, 2024
1 parent df297d4 commit ef7e1b3
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 32 deletions.
26 changes: 13 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -87,7 +87,7 @@
"ml-stat": "^1.3.3",
"multiplet-analysis": "^2.1.2",
"nmr-correlation": "^2.3.3",
"nmr-load-save": "^0.24.0",
"nmr-load-save": "^0.25.0",
"nmr-processing": "^11.8.1",
"nmredata": "^0.9.9",
"numeral": "^2.0.6",
Expand Down
1 change: 1 addition & 0 deletions src/component/workspaces/exercise.ts
Expand Up @@ -35,6 +35,7 @@ export const exercise: InnerWorkspace = {
verticalSplitterCloseThreshold: 600,
spectraRendering: 'auto',
loggingLevel: 'info',
popupLoggingLevel: 'error',
invert: false,
},
formatting: {
Expand Down
17 changes: 1 addition & 16 deletions src/component/workspaces/prediction.ts
Expand Up @@ -9,6 +9,7 @@ export const prediction: InnerWorkspace = {
verticalSplitterCloseThreshold: 600,
spectraRendering: 'auto',
loggingLevel: 'info',
popupLoggingLevel: 'error',
invert: false,
},
display: {
Expand Down Expand Up @@ -61,9 +62,7 @@ export const prediction: InnerWorkspace = {
visible: true,
},
{
name: 'name',
label: 'Spectrum Name',
description: 'Spectrum Name',
jpath: ['info', 'name'],
visible: true,
},
Expand All @@ -74,9 +73,7 @@ export const prediction: InnerWorkspace = {
visible: true,
},
{
name: 'solvent',
label: 'Solvent',
description: 'Solvent',
jpath: ['info', 'solvent'],
visible: false,
},
Expand Down Expand Up @@ -107,9 +104,7 @@ export const prediction: InnerWorkspace = {
visible: true,
},
{
name: 'name',
label: 'Spectrum Name',
description: 'Spectrum Name',
jpath: ['info', 'name'],
visible: true,
},
Expand All @@ -120,9 +115,7 @@ export const prediction: InnerWorkspace = {
visible: true,
},
{
name: 'solvent',
label: 'Solvent',
description: 'Solvent',
jpath: ['info', 'solvent'],
visible: false,
},
Expand Down Expand Up @@ -153,9 +146,7 @@ export const prediction: InnerWorkspace = {
visible: true,
},
{
name: 'name',
label: 'Spectrum Name',
description: 'Spectrum Name',
jpath: ['info', 'name'],
visible: true,
},
Expand All @@ -166,9 +157,7 @@ export const prediction: InnerWorkspace = {
visible: true,
},
{
name: 'solvent',
label: 'Solvent',
description: 'Solvent',
jpath: ['info', 'solvent'],
visible: false,
},
Expand Down Expand Up @@ -199,9 +188,7 @@ export const prediction: InnerWorkspace = {
visible: true,
},
{
name: 'name',
label: 'Spectrum Name',
description: 'Spectrum Name',
jpath: ['info', 'name'],
visible: true,
},
Expand All @@ -212,9 +199,7 @@ export const prediction: InnerWorkspace = {
visible: true,
},
{
name: 'solvent',
label: 'Solvent',
description: 'Solvent',
jpath: ['info', 'solvent'],
visible: false,
},
Expand Down
3 changes: 1 addition & 2 deletions src/component/workspaces/simulation.ts
Expand Up @@ -9,6 +9,7 @@ export const simulation: InnerWorkspace = {
verticalSplitterCloseThreshold: 600,
spectraRendering: 'auto',
loggingLevel: 'info',
popupLoggingLevel: 'error',
invert: false,
},
display: {
Expand Down Expand Up @@ -44,9 +45,7 @@ export const simulation: InnerWorkspace = {
visible: true,
},
{
name: 'name',
label: 'Spectrum Name',
description: 'Spectrum Name',
jpath: ['info', 'name'],
visible: true,
},
Expand Down
1 change: 1 addition & 0 deletions src/component/workspaces/workspaceDefaultProperties.ts
Expand Up @@ -61,6 +61,7 @@ export const workspaceDefaultProperties: Required<WorkspacePreferences> = {
verticalSplitterCloseThreshold: 600,
spectraRendering: 'auto',
loggingLevel: 'info',
popupLoggingLevel: 'error',
invert: false,
},
formatting: {
Expand Down

0 comments on commit ef7e1b3

Please sign in to comment.