feat: improve 1D line broadening filter #8027
nodejs.yml
on: pull_request
nodejs
/
prepare
14s
stylelint
35s
nodejs
/
lint-eslint
5m 27s
nodejs
/
lint-prettier
38s
nodejs
/
lint-check-types
4m 22s
Matrix: nodejs / test
Annotations
32 errors and 10 warnings
src/data/data1d/__tests__/Datum1D.test.ts:
src/data/data1d/Spectrum1D/initiateDatum1D.ts#L83
TypeError: Cannot read properties of undefined (reading 'reapplyFilters')
❯ Module.initiateDatum1D src/data/data1d/Spectrum1D/initiateDatum1D.ts:83:18
❯ getData src/data/SpectraManager.ts:39:12
❯ Module.addJcamp src/data/SpectraManager.ts:59:18
❯ src/data/data1d/__tests__/Datum1D.test.ts:15:3
|
src/data/data1d/__tests__/autoPeakPicking.test.ts > test peakPicking > check baseline:
src/data/data1d/Spectrum1D/initiateDatum1D.ts#L83
TypeError: Cannot read properties of undefined (reading 'reapplyFilters')
❯ Module.initiateDatum1D src/data/data1d/Spectrum1D/initiateDatum1D.ts:83:18
❯ src/data/data1d/__tests__/autoPeakPicking.test.ts:13:19
|
src/data/data2d/__tests__/Datum2D.test.ts > Datum2D:
src/data/data2d/Spectrum2D/initiateDatum2D.ts#L66
TypeError: Cannot read properties of undefined (reading 'reapplyFilters')
❯ Module.initiateDatum2D src/data/data2d/Spectrum2D/initiateDatum2D.ts:66:18
❯ getData src/data/SpectraManager.ts:41:12
❯ Module.addJcamp src/data/SpectraManager.ts:59:18
❯ src/data/data2d/__tests__/Datum2D.test.ts:13:3
|
nodejs / test (22)
Process completed with exit code 1.
|
src/data/data1d/__tests__/Datum1D.test.ts:
src/data/data1d/Spectrum1D/initiateDatum1D.ts#L83
TypeError: Cannot read properties of undefined (reading 'reapplyFilters')
❯ Module.initiateDatum1D src/data/data1d/Spectrum1D/initiateDatum1D.ts:83:18
❯ getData src/data/SpectraManager.ts:39:12
❯ Module.addJcamp src/data/SpectraManager.ts:59:18
❯ src/data/data1d/__tests__/Datum1D.test.ts:15:3
|
src/data/data1d/__tests__/autoPeakPicking.test.ts > test peakPicking > check baseline:
src/data/data1d/Spectrum1D/initiateDatum1D.ts#L83
TypeError: Cannot read properties of undefined (reading 'reapplyFilters')
❯ Module.initiateDatum1D src/data/data1d/Spectrum1D/initiateDatum1D.ts:83:18
❯ src/data/data1d/__tests__/autoPeakPicking.test.ts:13:19
|
src/data/data2d/__tests__/Datum2D.test.ts > Datum2D:
src/data/data2d/Spectrum2D/initiateDatum2D.ts#L66
TypeError: Cannot read properties of undefined (reading 'reapplyFilters')
❯ Module.initiateDatum2D src/data/data2d/Spectrum2D/initiateDatum2D.ts:66:18
❯ getData src/data/SpectraManager.ts:41:12
❯ Module.addJcamp src/data/SpectraManager.ts:59:18
❯ src/data/data2d/__tests__/Datum2D.test.ts:13:3
|
nodejs / test (20)
Process completed with exit code 1.
|
src/data/data1d/__tests__/Datum1D.test.ts:
src/data/data1d/Spectrum1D/initiateDatum1D.ts#L83
TypeError: Cannot read properties of undefined (reading 'reapplyFilters')
❯ Module.initiateDatum1D src/data/data1d/Spectrum1D/initiateDatum1D.ts:83:18
❯ getData src/data/SpectraManager.ts:39:12
❯ Module.addJcamp src/data/SpectraManager.ts:59:18
❯ src/data/data1d/__tests__/Datum1D.test.ts:15:3
|
src/data/data1d/__tests__/autoPeakPicking.test.ts > test peakPicking > check baseline:
src/data/data1d/Spectrum1D/initiateDatum1D.ts#L83
TypeError: Cannot read properties of undefined (reading 'reapplyFilters')
❯ Module.initiateDatum1D src/data/data1d/Spectrum1D/initiateDatum1D.ts:83:18
❯ src/data/data1d/__tests__/autoPeakPicking.test.ts:13:19
|
src/data/data2d/__tests__/Datum2D.test.ts > Datum2D:
src/data/data2d/Spectrum2D/initiateDatum2D.ts#L66
TypeError: Cannot read properties of undefined (reading 'reapplyFilters')
❯ Module.initiateDatum2D src/data/data2d/Spectrum2D/initiateDatum2D.ts:66:18
❯ getData src/data/SpectraManager.ts:41:12
❯ Module.addJcamp src/data/SpectraManager.ts:59:18
❯ src/data/data2d/__tests__/Datum2D.test.ts:13:3
|
nodejs / test (18)
Process completed with exit code 1.
|
nodejs / lint-check-types:
src/component/1d/ApodizationLine.tsx#L1
'Spectrum1D' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled.
|
nodejs / lint-check-types:
src/component/1d/ApodizationLine.tsx#L50
Property 'lineBroadening' does not exist on type 'Partial<Record<"gaussian" | "exponential" | "lorentzToGauss" | "sineBell" | "sineSquare" | "traf" | "modifiedGaussian", ShapeToAdd<FlexibleWindowFunctions>>>'.
|
nodejs / lint-check-types:
src/component/1d/ApodizationLine.tsx#L50
Property 'gaussBroadening' does not exist on type 'Partial<Record<"gaussian" | "exponential" | "lorentzToGauss" | "sineBell" | "sineSquare" | "traf" | "modifiedGaussian", ShapeToAdd<FlexibleWindowFunctions>>>'.
|
nodejs / lint-check-types:
src/component/1d/ApodizationLine.tsx#L50
Property 'lineBroadeningCenter' does not exist on type 'Partial<Record<"gaussian" | "exponential" | "lorentzToGauss" | "sineBell" | "sineSquare" | "traf" | "modifiedGaussian", ShapeToAdd<FlexibleWindowFunctions>>>'.
|
nodejs / lint-check-types:
src/component/2d/1d-tracer/phase-correction-traces/SpectrumPhaseTrace.tsx#L146
Argument of type 'Spectrum1D' is not assignable to parameter of type 'Entry1D'.
|
nodejs / lint-check-types:
src/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.tsx#L52
Argument of type 'Spectrum1D' is not assignable to parameter of type 'Entry1D'.
|
nodejs / lint-check-types:
src/component/modal/setting/settings-tabs/DatabasesTabContent.tsx#L40
Type instantiation is excessively deep and possibly infinite.
|
nodejs / lint-check-types:
src/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.tsx#L3
Module '"nmr-processing"' declares 'BaseFilter' locally, but it is not exported.
|
nodejs / lint-check-types:
src/component/panels/databasePanel/DatabasePanel.tsx#L517
Argument of type 'Spectrum1D' is not assignable to parameter of type 'Entry1D'.
|
nodejs / lint-check-types:
src/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.tsx#L38
Argument of type 'Filter1DOptions | Filter2DOptions' is not assignable to parameter of type 'BaselineCorrectionFilterOptions & Filter'.
|
nodejs / lint-eslint:
src/component/1d/ApodizationLine.tsx#L1
All imports in the declaration are only used as types. Use `import type`
|
nodejs / lint-eslint:
src/component/header/SimpleApodizationOptionsPanel.tsx#L14
Expected 1 empty line after import statement not followed by another import
|
nodejs / lint-eslint:
src/component/panels/filtersPanel/Filters/FiltersSectionsPanel.tsx#L7
Prefer using a top-level type-only import instead of inline type specifiers
|
nodejs / lint-eslint:
src/component/panels/filtersPanel/Filters/FiltersSectionsPanel.tsx#L8
Prefer using a top-level type-only import instead of inline type specifiers
|
nodejs / lint-eslint:
src/component/panels/filtersPanel/Filters/index.tsx#L1
All imports in the declaration are only used as types. Use `import type`
|
nodejs / lint-eslint:
src/component/reducer/Reducer.ts#L8
'/home/runner/work/nmrium/nmrium/node_modules/nmr-processing/nmr-processing.mjs' imported multiple times
|
nodejs / lint-eslint:
src/component/reducer/Reducer.ts#L11
'/home/runner/work/nmrium/nmrium/node_modules/nmr-processing/nmr-processing.mjs' imported multiple times
|
nodejs / lint-eslint:
src/component/reducer/actions/FiltersActions.ts#L12
'/home/runner/work/nmrium/nmrium/node_modules/nmr-processing/nmr-processing.mjs' imported multiple times
|
nodejs / lint-eslint:
src/component/reducer/actions/FiltersActions.ts#L22
'/home/runner/work/nmrium/nmrium/node_modules/nmr-processing/nmr-processing.mjs' imported multiple times
|
nodejs / lint-eslint:
src/component/reducer/actions/RangesActions.ts#L6
All imports in the declaration are only used as types. Use `import type`
|
nodejs / lint-eslint:
src/component/assignment/index.tsx#L31
Unexpected 'todo' comment: 'TODO: Fix this type error. It's been...'
|
nodejs / lint-eslint:
src/component/elements/Alert.tsx#L139
Do not use Array index in keys
|
nodejs / lint-eslint:
src/component/elements/Button.tsx#L1
Unexpected 'todo' comment: 'TODO resolve the eslint rules'
|
nodejs / lint-eslint:
src/component/elements/InputRange.tsx#L39
Unexpected 'todo' comment: 'TODO: remove this hacky ref usage.'
|
nodejs / lint-eslint:
src/component/elements/NumberInput2Controller.tsx#L19
Capture group '(\.\d+)' should be converted to a named or non-capturing group
|
nodejs / lint-eslint:
src/component/header/SimpleApodizationOptionsPanel.tsx#L14
`nmr-processing` type import should occur before import of `react`
|
nodejs / lint-eslint:
src/component/header/SimpleBaseLineCorrectionOptionsPanel.tsx#L20
`nmr-processing` type import should occur before import of `react`
|
nodejs / lint-eslint:
src/component/modal/MultipletAnalysisModal.tsx#L175
Unexpected 'todo' comment: 'TODO: handle error'
|
nodejs / lint-eslint:
src/component/panels/RangesPanel/hooks/useMapRanges.ts#L9
Unexpected 'todo' comment: 'TODO need to refactor the ranges table'
|
nodejs / lint-eslint:
src/component/panels/SummaryPanel/utilities/Utilities.ts#L125
Unexpected 'todo' comment: 'TODO: handle default?'
|