Symlink hip_main.dat.gz so tests always work
This commit is contained in:
parent
807a67b200
commit
92ea3f03ba
|
@ -19,7 +19,6 @@ MANIFEST
|
|||
MPCORB.DAT
|
||||
Untitled*.ipynb
|
||||
build
|
||||
hip_main.dat.gz
|
||||
htmlcov/
|
||||
stations.txt
|
||||
tmp*.py
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
ci/hip_main.dat.gz
|
|
@ -3,7 +3,7 @@ from skyfield.data.hipparcos import load_dataframe
|
|||
|
||||
def test_dataframe():
|
||||
ts = api.load.timescale(builtin=True)
|
||||
with api.load.open('ci/hip_main.dat.gz') as f:
|
||||
with api.load.open('hip_main.dat.gz') as f:
|
||||
df = load_dataframe(f)
|
||||
star = api.Star.from_dataframe(df)
|
||||
assert repr(star) == 'Star(ra shape=214, dec shape=214, ra_mas_per_year shape=214, dec_mas_per_year shape=214, parallax_mas shape=214, epoch shape=214)'
|
||||
|
|
Loading…
Reference in New Issue