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-sims
csst_ifs_sim
Commits
7ebf268c
Commit
7ebf268c
authored
Apr 10, 2024
by
Yan Zhaojun
Browse files
update
parent
ea0a0ae7
Pipeline
#3936
failed with stage
in 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
csst_ifs_sim/csst_ifs_sim.py
View file @
7ebf268c
...
@@ -4788,7 +4788,7 @@ if __name__ == "__main__":
...
@@ -4788,7 +4788,7 @@ if __name__ == "__main__":
runIFSsim
(
sourcein
,
skyfitsin
,
configfile
,
1
,
CSST_unittest
,
applyhole
)
runIFSsim
(
sourcein
,
skyfitsin
,
configfile
,
1
,
CSST_unittest
,
applyhole
)
return
1
############################################################################
############################################################################
############################################################################
############################################################################
# it=range(1, exposureNum+1,1)
# it=range(1, exposureNum+1,1)
...
...
tests/test_ifs_sim.py
View file @
7ebf268c
...
@@ -36,11 +36,12 @@ class TestDemoFunction(unittest.TestCase):
...
@@ -36,11 +36,12 @@ class TestDemoFunction(unittest.TestCase):
print
(
dir_path
)
print
(
dir_path
)
d
=
0
csst_ifs_sim
(
dir_path
)
d
=
csst_ifs_sim
(
dir_path
)
self
.
assertTrue
(
self
.
assertTrue
(
1
==
1
,
d
==
1
,
"case 1: SCI sim passes."
,
"case 1: SCI sim passes."
,
)
)
...
...
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