Skip to content

Fixed bug in GetClosestIndex for arrays of length 1 or 2 #544

Fixed bug in GetClosestIndex for arrays of length 1 or 2

Fixed bug in GetClosestIndex for arrays of length 1 or 2 #544

Triggered via pull request August 1, 2023 17:40
Status Success
Total duration 5m 41s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

dotnet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

21 warnings
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1, codecov/codecov-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build: mzLib/MassSpectrometry/MzSpectra/MzSpectrum.cs#L758
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build: mzLib/MassSpectrometry/MzSpectra/MzSpectrum.cs#L765
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build: mzLib/Readers/GenericMsDataFile.cs#L7
Cannot convert null literal to non-nullable reference type.
build: mzLib/Readers/GenericMsDataFile.cs#L16
Cannot convert null literal to non-nullable reference type.
build: mzLib/Readers/Mgf/Mgf.cs#L26
Cannot convert null literal to non-nullable reference type.
build: mzLib/Readers/Mgf/Mgf.cs#L117
Cannot convert null literal to non-nullable reference type.
build: mzLib/Readers/Mgf/Mgf.cs#L69
Cannot convert null literal to non-nullable reference type.
build: mzLib/Readers/Mgf/Mgf.cs#L121
Cannot convert null literal to non-nullable reference type.
build: mzLib/Readers/MzML/Mzml.cs#L156
Cannot convert null literal to non-nullable reference type.
build: mzLib/Readers/MzML/Mzml.cs#L1084
Cannot convert null literal to non-nullable reference type.
build: mzLib/MassSpectrometry/MzSpectra/MzSpectrum.cs#L758
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build: mzLib/MassSpectrometry/MzSpectra/MzSpectrum.cs#L765
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build: mzLib/Readers/ExternalResults/ResultFiles/MsDataFileToResultFileAdapter.cs#L15
Cannot convert null literal to non-nullable reference type.
build: mzLib/Readers/ExternalResults/ResultFiles/MsDataFileToResultFileAdapter.cs#L20
Cannot convert null literal to non-nullable reference type.
build: mzLib/Readers/GenericMsDataFile.cs#L7
Cannot convert null literal to non-nullable reference type.
build: mzLib/Readers/GenericMsDataFile.cs#L16
Cannot convert null literal to non-nullable reference type.
build: mzLib/Readers/Mgf/Mgf.cs#L26
Cannot convert null literal to non-nullable reference type.
build: mzLib/Readers/Mgf/Mgf.cs#L117
Cannot convert null literal to non-nullable reference type.
build: mzLib/Readers/Mgf/Mgf.cs#L69
Cannot convert null literal to non-nullable reference type.
build: mzLib/Readers/Mgf/Mgf.cs#L121
Cannot convert null literal to non-nullable reference type.