Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sdc
kis_tools
Commits
359b96b6
Commit
359b96b6
authored
Feb 11, 2021
by
Carl Schaffer
Browse files
moving coord_db to resources
parent
3dde378c
Changes
4
Hide whitespace changes
Inline
Side-by-side
kis_tools/gris/gris_coordinate_study/.gitignore
deleted
100644 → 0
View file @
3dde378c
gris_coords.db
kis_tools/gris/gris_coordinate_study/__init__.py
View file @
359b96b6
from
pathlib
import
Path
db_path
=
Path
(
__file__
).
parent
/
'gris_coords.db'
kis_tools/tests/test_coords.py
View file @
359b96b6
...
...
@@ -62,4 +62,3 @@ class TestCoords(unittest.TestCase):
def
test_gris_wcs
(
self
):
wcs
=
GrisWCSGenerator
(
gris_structure
.
raw_files
[
0
])
wcs
.
get_coords_ml
()
kis_tools/tests/test_gris.py
View file @
359b96b6
...
...
@@ -100,7 +100,6 @@ class TestGris(unittest.TestCase):
self
.
assertIsInstance
(
gff
,
GrisFitsFile
,
"Instantiation of GrisFitsFile failed"
)
# test parse function
gff
.
parse
()
gff
.
parse
()
# test printing of object
self
.
assertIsInstance
(
gff
.
__str__
(),
str
)
...
...
@@ -122,6 +121,7 @@ class TestGris(unittest.TestCase):
gf2
=
GrisFitsFile
(
test_data
.
gris
.
l1_data
[
0
])
gf2
.
slit_orientation
gf2
.
parse
()
gf2
.
telescope_centering
_
=
gf2
.
modestring
_
=
gf2
.
_coords_from_simple_header
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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