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

ctestis formatting bug #114

Open
sean-lockwood opened this issue May 5, 2020 · 1 comment
Open

ctestis formatting bug #114

sean-lockwood opened this issue May 5, 2020 · 1 comment
Labels

Comments

@sean-lockwood
Copy link
Member

sean-lockwood commented May 5, 2020

https://github.com/spacetelescope/stistools/blob/master/stistools/ctestis.py#L247

ycol can be specified as an integer, so formatting to specify the number of decimal places breaks. Replace with empty format statement {}.

@sean-lockwood
Copy link
Member Author

Another bug:

Allow the user to specify sx2=False:
if sx2 or "_sx2" in stisimage:
-->
if sx2 or "_sx2" in (stisimage or ''):

https://github.com/spacetelescope/stistools/blob/master/stistools/ctestis.py#L180

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

1 participant