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

aca.acqs has no bad_stars attribute after unpickling #207

Open
taldcroft opened this issue Dec 20, 2018 · 1 comment
Open

aca.acqs has no bad_stars attribute after unpickling #207

taldcroft opened this issue Dec 20, 2018 · 1 comment
Labels
acquisition bug Something isn't working

Comments

@taldcroft
Copy link
Member

This can be worked around by setting aca.acqs.bad_stars = None, but that's probably not a real solution.

In [11]: aca.plot()
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-11-788f6b1375ab> in <module>()
----> 1 aca.plot()

/proj/sot/ska3/flight/lib/python3.6/site-packages/proseco/core.py in plot(self, ax)
    493         if self.acqs:
    494             stars_kwargs['stars'] = self.acqs.stars
--> 495             stars_kwargs['bad_stars'] = self.acqs.bad_stars
    496 
    497         plot_stars(attitude=self.att, catalog=self, ax=ax, **stars_kwargs)

AttributeError: 'AcqTable' object has no attribute 'bad_stars'
@taldcroft taldcroft added the bug Something isn't working label Dec 20, 2018
@taldcroft taldcroft added this to the Matlab - proseco TRR milestone Dec 20, 2018
@taldcroft
Copy link
Member Author

Re-milestoned to the starcheck release, that's when we'd like this (and in any case there is an easy workaround of getting stars manually instead of having it automatic).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
acquisition bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant