Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor refactoring of polarization values and defaults in the slicer function #1390

Merged
merged 4 commits into from
Nov 6, 2024

Renamed casa conversion function; moved fits conversion function into…

eefed8a
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Minor refactoring of polarization values and defaults in the slicer function #1390

Renamed casa conversion function; moved fits conversion function into…
eefed8a
Select commit
Loading
Failed to load commit list.
GitHub Actions / macOS-12 Unit Test results succeeded Nov 1, 2024 in 1s

302 passed, 0 failed and 0 skipped

Tests passed successfully

✅ build/test/macos_test_report.xml

302 tests were completed in 66s with 302 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
BlockSmoothingTest 2✅ 11s
ContourTest 12✅ 34s
CursorSpatialProfileTest 17✅ 5s
FileExtInfoLoaderTest 5✅ 33ms
FileInfoLoaderTest 4✅ 2ms
FileListTest 4✅ 14ms
FitsImageTest 6✅ 3s
FitsTableTest 33✅ 11ms
Hdf5AttributesTest 1✅ 440ms
Hdf5ImageTest 6✅ 93ms
HistogramTest 5✅ 1s
ImageExprTest 5✅ 62ms
ImageFittingTest 9✅ 11s
MomentTest 2✅ 301ms
NormalizedUnitsTest 4✅ 0ms
ProgramSettingsTest 24✅ 49ms
PvGeneratorTest 10✅ 340ms
RegionHistogramTest 2✅ 12ms
RegionImportExportTest 4✅ 223ms
RegionMatchedTest 10✅ 108ms
RegionSpatialProfileTest 12✅ 99ms
RegionSpectralProfileTest 4✅ 34ms
RegionStatsTest 2✅ 15ms
RegionTest 11✅ 60ms
RestApiTest 50✅ 72ms
SessionFileInfoTest 4✅ 45ms
TileEncodingTest 3✅ 3ms
UtilTest 10✅ 1ms
VoTableTest 41✅ 11ms

✅ BlockSmoothingTest

✅ TestControl
✅ TestSSEAccuracy

✅ ContourTest

✅ NoSmoothingFitsFile
✅ NoSmoothingFitsFileNaN
✅ GaussianBlurFitsFile
✅ GaussianBlurFitsFileNaN
✅ BlockAverageFitsFile
✅ BlockAverageFitsFileNaN
✅ NoSmoothingHdf5File
✅ NoSmoothingHdf5FileNaN
✅ GaussianBlurHdf5File
✅ GaussianBlurHdf5FileNaN
✅ BlockAverageHdf5File
✅ BlockAverageHdf5FileNaN

✅ CursorSpatialProfileTest

✅ SmallFitsProfile
✅ SmallHdf5Profile
✅ LowResFitsProfile
✅ LowResHdf5ProfileExactMipAvailable
✅ LowResHdf5ProfileLowerMipAvailable
✅ LowResHdf5ProfileNoMipAvailable
✅ FullResFitsStartEnd
✅ FullResHdf5StartEnd
✅ LowResFitsStartEnd
✅ LowResHdf5StartEnd
✅ Hdf5MultipleChunkFullRes
✅ Hdf5MultipleChunkFullResStartEnd
✅ FitsChannelChange
✅ FitsChannelStokesChange
✅ ContiguousHDF5ChannelChange
✅ ChunkedHDF5ChannelChange
✅ ChunkedHDF5ChannelStokesChange

✅ FileExtInfoLoaderTest

✅ CasaFile
✅ FitsFile
✅ Hdf5File
✅ MiriadFile
✅ FitsHistoryEntries

✅ FileInfoLoaderTest

✅ CasaFile
✅ FitsFile
✅ Hdf5File
✅ MiriadFile

✅ FileListTest

✅ SetTopLevelFolder
✅ SetStartingFolder
✅ AccessFalseFolder
✅ AccessForbiddenFolder

✅ FitsImageTest

✅ BasicLoadingTest
✅ ExampleFriendTest
✅ CorrectShape2dImage
✅ CorrectShape3dImage
✅ CorrectShapeDegenerate3dImages
✅ CorrectShape4dImages

✅ FitsTableTest

✅ ParseIvoaExampleHeaderOnly
✅ ParseIvoaExample
✅ CorrectFieldCount
✅ CorrectFieldNames
✅ CorrectFieldUnits
✅ CorrectFieldTypes
✅ CorrectFieldSizes
✅ CorrectNameLookups
✅ CorrectColumnTypes
✅ CorrectDataValues
✅ FailOnWrongFilterType
✅ PassOnCorrectFilterType
✅ CaseSensitiveStringFilter
✅ CaseInsensitiveStringFilter
✅ FailFilterExtractMistypedValues
✅ FilterExtractValues
✅ NumericFilterEqual
✅ NumericFilterNotEqual
✅ NumericFilterGreater
✅ NumericFilterLesser
✅ NumericFilterRange
✅ BooleanFilterEqual
✅ BooleanFilterNotEqual
✅ FailSortMissingColummn
✅ SortNumericAscending
✅ SortNumericDescending
✅ SortNumericSubset
✅ SortStringAscending
✅ SortStringDescending
✅ SortStringSubset
✅ ParseArrayFile
✅ IgnoreArrayTypes
✅ CorrectScalarData

✅ Hdf5AttributesTest

✅ TestAttributes

✅ Hdf5ImageTest

✅ BasicLoadingTest
✅ ExampleFriendTest
✅ CorrectShape2dImage
✅ CorrectShape3dImage
✅ CorrectShapeDegenerate3dImages
✅ CorrectShape4dImages

✅ HistogramTest

✅ TestHistogramBehaviour
✅ TestHistogramConstructor
✅ TestHistogramAdd
✅ TestSingleThreading
✅ TestMultithreading

✅ ImageExprTest

✅ FitsImageExprTimesTwo
✅ Hdf5ImageExprTimesTwo
✅ FitsImageExprSave
✅ ImageExprFails
✅ ImageExprTwoDirs

✅ ImageFittingTest

✅ OneComponentFitting
✅ ThreeComponentFitting
✅ CenterFixedFitting
✅ BackgroundUnfixedFitting
✅ FittingWithFov
✅ IncorrectRegionId
✅ IncorrectFov
✅ FovOutsideImage
✅ insufficientData

✅ MomentTest

✅ CheckConsistency
✅ CheckConsistencyForBeamConvolutions

✅ NormalizedUnitsTest

✅ ValidBunits
✅ Bunit
✅ BunitPrefixUpperM
✅ BunitPrefixLowerM

✅ ProgramSettingsTest

✅ DefaultConstructor
✅ EmptyArugments
✅ ExpectedValuesLong
✅ ExpectedValuesShort
✅ OverrideDeprecatedRoot
✅ OverrideDeprecatedBase
✅ StartingFolderFromPositional
✅ IgnoreInvalidFolder
✅ IgnoreInvalidFile
✅ FileImageFromPositional
✅ RelativeFileImageFromPositional
✅ TrimExtraFolders
✅ FileImageRelativeToTopLevel
✅ CasaImageSetFromPositional
✅ MultipleImagesFromPositional
✅ ExpectedValuesLongJSON
✅ ValidateJSONFromFileWithGoodFields
✅ ValidateJSONFromFileWithBadFields
✅ TestValuesFromGoodSettings
✅ TestDefaultsFallbackFromBadSettings
✅ TestFileQueryStringEmptyFiles
✅ TestFileQueryStringSingleFile
✅ TestFileQueryStringTwoFilesSameFolder
✅ TestFileQueryStringTwoFilesDifferentFolder

✅ PvGeneratorTest

✅ FitsPvImage
✅ FitsPvImageHorizontalCut
✅ FitsPvImageVerticalCut
✅ TestNoSpectralAxis
✅ AveragingWidthRange
✅ PvImageSpectralRange
✅ PvImageReversedAxes
✅ PvImageKeep
✅ FitsPvAnnotationLine
✅ FitsPvPolyLine

✅ RegionHistogramTest

✅ TestFitsRegionHistogram
✅ TestFitsAnnotationRegionHistogram

✅ RegionImportExportTest

✅ TestCrtfPixExportImport
✅ TestCrtfWorldExportImport
✅ TestDs9PixExportImport
✅ TestDs9WorldExportImport

✅ RegionMatchedTest

✅ TestMatchedImageRectangleLCRegion
✅ TestMatchedImageRotboxLCRegion
✅ TestMatchedImageEllipseLCRegion
✅ TestMatchedImagePolygonLCRegion
✅ TestMatchedImagePointRecord
✅ TestMatchedImageLineRecord
✅ TestMatchedImageRectangleRecord
✅ TestMatchedImageRotboxRecord
✅ TestMatchedImageEllipseRecord
✅ TestMatchedImagePolygonRecord

✅ RegionSpatialProfileTest

✅ TestSpatialRequirements
✅ FitsLineProfile
✅ Hdf5LineProfile
✅ FitsHorizontalCutProfile
✅ FitsVerticalCutProfile
✅ FitsPolylineProfile
✅ AveragingWidthRange
✅ FitsAnnotationLineProfile
✅ FitsPointProfile
✅ Hdf5PointProfile
✅ FitsPointProfileOutsideImage
✅ FitsAnnotationPointProfile

✅ RegionSpectralProfileTest

✅ TestPolygonSpectralProfile
✅ TestAnnPolygonSpectralProfile
✅ TestPointSpectralProfile
✅ TestAnnPointSpectralProfile

✅ RegionStatsTest

✅ TestFitsRegionStats
✅ TestFitsAnnotationRegionStats

✅ RegionTest

✅ TestSetUpdateRemoveRegion
✅ TestReferenceImageRectangleLCRegion
✅ TestReferenceImageRotboxLCRegion
✅ TestReferenceImageEllipseLCRegion
✅ TestReferenceImagePolygonLCRegion
✅ TestReferenceImagePointRecord
✅ TestReferenceImageLineRecord
✅ TestReferenceImageRectangleRecord
✅ TestReferenceImageRotboxRecord
✅ TestReferenceImageEllipseRecord
✅ TestReferenceImagePolygonRecord

✅ RestApiTest

✅ EmptyStartingPrefs
✅ GetExistingPrefs
✅ DeletePrefsEmpty
✅ DeletePrefsInvalid
✅ DeletePrefsIgnoresInvalidKeys
✅ DeletePrefsHandlesMissingKeys
✅ DeletePrefsSingleKey
✅ DeletePrefsKeyList
✅ SetPrefsReadOnly
✅ EmptyStartingLayouts
✅ GetExistingLayoutList
✅ GetExistingLayout
✅ GetExistingLayouts
✅ DeleteLayout
✅ DeleteLayoutEmpty
✅ DeleteLayoutInvalid
✅ DeleteLayoutIgnoresInvalidKeys
✅ DeleteLayoutMissingName
✅ SetLayout
✅ SetLayoutReadOnly
✅ EmptyStartingSnippets
✅ GetExistingSnippetList
✅ GetExistingSnippet
✅ GetExistingSnippets
✅ DeleteSnippet
✅ DeleteSnippetEmpty
✅ DeleteSnippetInvalid
✅ DeleteSnippetIgnoresInvalidKeys
✅ DeleteSnippetMissingName
✅ SetSnippet
✅ SetSnippetReadOnly
✅ EmptyStartingWorkspaces
✅ GetExistingWorkspaceList
✅ GetExistingWorkspace
✅ GetMissingWorkspace
✅ GetExistingWorkspaces
✅ DeleteWorkspace
✅ DeleteWorkspaceEmpty
✅ DeleteWorkspaceInvalid
✅ DeleteWorkspaceIgnoresInvalidKeys
✅ DeleteWorkspaceMissingName
✅ SetWorkspace
✅ SetWorkspaceReadOnly
✅ SendScriptingRequest
✅ SendScriptingRequestSessionNotFound
✅ SendScriptingRequestBadJson
✅ SendScriptingRequestServerError
✅ OnScriptingResponse
✅ OnScriptingResponseFailure
✅ OnScriptingResponseBadResponse

✅ SessionFileInfoTest

✅ CasaFile
✅ FitsFile
✅ Hdf5File
✅ MiriadFile

✅ TileEncodingTest

✅ InvalidInput
✅ OutOfBounds
✅ RoundTrip

✅ UtilTest

✅ SubdirectoryAbs
✅ SubdirectoryRel
✅ SubdirectorySelf
✅ ParentNotSubdirectory
✅ TopIsRoot
✅ ItemCountValidFolder
✅ ItemCountMissingFolder
✅ StringCompare
✅ HasSuffixCaseSensitive
✅ HasSuffixCaseInsensitive

✅ VoTableTest

✅ FailOnEmptyFilename
✅ FailOnEmptyFilenameHeaderOnly
✅ FailOnMissingResource
✅ FailOnMissingTable
✅ FailOnMissingData
✅ ParseMissingDataHeaderOnly
✅ ParseMissingData
✅ ParseIvoaExampleHeaderOnly
✅ ParseIvoaExample
✅ CorrectFieldCount
✅ CorrectFieldNames
✅ CorrectFieldUnits
✅ CorrectFieldTypes
✅ CorrectFieldSizes
✅ CorrectNameLookups
✅ CorrectIdLookups
✅ CorrectColumnTypes
✅ CorrectDataValues
✅ FailOnWrongFilterType
✅ PassOnCorrectFilterType
✅ CaseSensitiveStringFilter
✅ CaseInsensitiveStringFilter
✅ FailFilterExtractMistypedValues
✅ FilterExtractValues
✅ NumericFilterEqual
✅ NumericFilterNotEqual
✅ NumericFilterGreater
✅ NumericFilterLesser
✅ NumericFilterRange
✅ BooleanFilterEqual
✅ BooleanFilterNotEqual
✅ FailSortMissingColummn
✅ SortNumericAscending
✅ SortNumericDescending
✅ SortNumericSubset
✅ SortStringAscending
✅ SortStringDescending
✅ SortStringSubset
✅ ParseArrayFile
✅ IgnoreArrayTypes
✅ CorrectScalarData