Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AstromParser doesn't seam to read my .astrom file? #46

Closed
ijiraq opened this issue Jun 27, 2013 · 1 comment
Closed

AstromParser doesn't seam to read my .astrom file? #46

ijiraq opened this issue Jun 27, 2013 · 1 comment
Labels

Comments

@ijiraq
Copy link
Member

ijiraq commented Jun 27, 2013

I tried to get AstromParse to read the file:

vos:OSSOS/measure3/fk1616682s00.measure3.cands.astrom

but it said:

IndexError: list index out of range

ast = astrom.AstromParser().parse('fk1616682s00.measure3.cands.astrom')
Traceback (most recent call last):
File "", line 1, in
File "/home/jkavelaars/epd_free-7.3-2-rh5-x86_64/lib/python2.7/site-packages/ossos-0.1-py2.7.egg/pymop/io/astrom.py", line 182, in parse
self._parse_observation_headers(filestr, observations)
File "/home/jkavelaars/epd_free-7.3-2-rh5-x86_64/lib/python2.7/site-packages/ossos-0.1-py2.7.egg/pymop/io/astrom.py", line 109, in _parse_observation_headers
obs = observations[obsnum]
IndexError: list index out of range

@drusk drusk mentioned this issue Jun 27, 2013
@drusk
Copy link
Contributor

drusk commented Jul 3, 2013

@ijiraq this seems to be working for me since pull request #47. Can you try it again and close this issue if its working?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants