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_msc_sim
Commits
8ddba13c
Commit
8ddba13c
authored
Dec 27, 2021
by
Fang Yuedong
Browse files
fix pointing ID counting issue
parent
44e9fa5e
Changes
1
Show whitespace changes
Inline
Side-by-side
ObservationSim/_util.py
View file @
8ddba13c
...
@@ -53,6 +53,7 @@ def generate_pointing_list(config, pointing_filename=None, data_dir=None):
...
@@ -53,6 +53,7 @@ def generate_pointing_list(config, pointing_filename=None, data_dir=None):
for
line
in
f
:
for
line
in
f
:
if
run_pointings
and
iline
not
in
run_pointings
:
if
run_pointings
and
iline
not
in
run_pointings
:
iline
+=
1
iline
+=
1
ipoint
+=
1
continue
continue
line
=
line
.
strip
()
line
=
line
.
strip
()
columns
=
line
.
split
()
columns
=
line
.
split
()
...
...
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