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
1186441d
Commit
1186441d
authored
Apr 10, 2024
by
Yan Zhaojun
Browse files
update setup.py
parent
3f30ddd9
Pipeline
#3971
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tests/test_ifs_sim.py
View file @
1186441d
...
@@ -33,7 +33,9 @@ class TestDemoFunction(unittest.TestCase):
...
@@ -33,7 +33,9 @@ class TestDemoFunction(unittest.TestCase):
# demo function test
# demo function test
dir_path
=
os
.
path
.
join
(
os
.
environ
[
'UNIT_TEST_DATA_ROOT'
],
'ifs_sim/'
)
dir_path
=
os
.
path
.
join
(
os
.
environ
[
'UNIT_TEST_DATA_ROOT'
],
'ifs_sim/'
)
print
(
dir_path
)
print
(
dir_path
)
configfile
=
dir_path
+
'IFS_inputdata/configData/IFS_sim_C90.config'
###configfile = dir_path+'IFS_inputdata/configData/IFS_sim_C90.config'
configfile
=
'IFS_sim_C90.config'
skyfitsin
=
dir_path
+
'IFS_inputdata/FengshuaiData/NGC6397_S6102.fits'
skyfitsin
=
dir_path
+
'IFS_inputdata/FengshuaiData/NGC6397_S6102.fits'
sourcein
=
'SCI'
sourcein
=
'SCI'
print
(
configfile
)
print
(
configfile
)
...
...
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