Commit 359b96b6 authored by Carl Schaffer's avatar Carl Schaffer
Browse files

moving coord_db to resources

parent 3dde378c
from pathlib import Path
db_path = Path(__file__).parent / 'gris_coords.db'
......@@ -62,4 +62,3 @@ class TestCoords(unittest.TestCase):
def test_gris_wcs(self):
wcs = GrisWCSGenerator(gris_structure.raw_files[0])
wcs.get_coords_ml()
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment