Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
1 year ago
by
Yan Zhaojun
Browse files
Options
Download
Email Patches
Plain Diff
update
parent
ea0a0ae7
develop
main
master
yanzhaojun-develop-patch-92489
yanzhaojun-main-patch-07633
No related merge requests found
Pipeline
#3936
failed with stage
in 0 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
csst_ifs_sim/csst_ifs_sim.py
+1
-1
csst_ifs_sim/csst_ifs_sim.py
tests/test_ifs_sim.py
+3
-2
tests/test_ifs_sim.py
with
4 additions
and
3 deletions
+4
-3
csst_ifs_sim/csst_ifs_sim.py
+
1
-
1
View file @
7ebf268c
...
...
@@ -4788,7 +4788,7 @@ if __name__ == "__main__":
runIFSsim
(
sourcein
,
skyfitsin
,
configfile
,
1
,
CSST_unittest
,
applyhole
)
return
1
############################################################################
############################################################################
# it=range(1, exposureNum+1,1)
...
...
This diff is collapsed.
Click to expand it.
tests/test_ifs_sim.py
+
3
-
2
View file @
7ebf268c
...
...
@@ -36,11 +36,12 @@ class TestDemoFunction(unittest.TestCase):
print
(
dir_path
)
d
=
0
csst_ifs_sim
(
dir_path
)
d
=
csst_ifs_sim
(
dir_path
)
self
.
assertTrue
(
1
==
1
,
d
==
1
,
"case 1: SCI sim passes."
,
)
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets