Skip to content

feat: improve 1D line broadening filter #8021

feat: improve 1D line broadening filter

feat: improve 1D line broadening filter #8021

Triggered via pull request November 1, 2024 16:16
Status Failure
Total duration 7m 31s
Artifacts

nodejs.yml

on: pull_request
Matrix: nodejs / test
Fit to window
Zoom out
Zoom in

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 (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.
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.
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/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/header/SimpleZeroFillingOptionsPanel.tsx#L2
'"nmr-processing"' has no exported member named 'Filters'. Did you mean 'Filters1D'?
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/MatrixGenerationPanel/MatrixGenerationPanel.tsx#L5
'"nmr-processing"' has no exported member named 'Filters'. Did you mean 'Filters1D'?
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/FiltersSectionsPanel.tsx#L316
Type '{ filters: Filter[]; spectraCounter: number; activeFilterID: string | null; }' is not assignable to type 'FiltersInnerProps'.
nodejs / lint-check-types: src/component/panels/filtersPanel/Filters/PhaseCorrectionTwoDimensionsOptionsPanel.tsx#L3
'"nmr-processing"' has no exported member named 'Filters'. Did you mean 'Filters1D'?
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/actions/FiltersActions.ts#L13
Imports "BaselineCorrectionOptions" are only used as type
nodejs / lint-eslint: src/component/reducer/actions/FiltersActions.ts#L14
'BaselineCorrectionOptions' is already defined
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/reducer/actions/RangesActions.ts#L7
Imports "Signal1D" and "Range" are only used as type
nodejs / lint-eslint: src/data/constants/DefaultApodizationOptions.ts#L1
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?'