Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-pipeline
csst_common
Commits
6e696d3b
Commit
6e696d3b
authored
Oct 23, 2025
by
BO ZHANG
🏀
Browse files
add support for fits: write test FITS file in setUp
parent
5bce2895
Pipeline
#10811
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tests/test_fits.py
View file @
6e696d3b
...
...
@@ -45,4 +45,5 @@ class TestFitsHeaderOps(unittest.TestCase):
def
test_fits_getdata
(
self
):
data
=
fits
.
getdata
(
test_fits_file
,
ext
=
0
)
self
.
assertEqual
(
data
,
None
)
self
.
assertIsInstance
(
data
,
np
.
ndarray
)
self
.
assertEqual
(
data
.
shape
,
(
5
,
5
))
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment