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_proto
Commits
c5cf9ffc
Commit
c5cf9ffc
authored
Nov 03, 2023
by
BO ZHANG
🏀
Browse files
use np.loadtxt
parent
08f044d4
Pipeline
#1467
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
tests/test_flip_image.py
View file @
c5cf9ffc
...
...
@@ -20,13 +20,13 @@ class FlipImageTestCase(unittest.TestCase):
def
test_flip_image_on_server
(
self
):
"""test flip image on server"""
image_input
=
np
.
load
(
image_input
=
np
.
load
txt
(
os
.
path
.
join
(
os
.
environ
[
"UNIT_TEST_DATA_ROOT"
],
"csst_proto/test_flip/input/image.txt"
,
)
)
image_answer
=
np
.
load
(
image_answer
=
np
.
load
txt
(
os
.
path
.
join
(
os
.
environ
[
"UNIT_TEST_DATA_ROOT"
],
"csst_proto/test_flip/answer/flipped_image.txt"
,
...
...
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