8000 Remove orphaned scripts / makefile by taldcroft · Pull Request #356 · sot/starcheck · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Remove orphaned scripts / makefile #356

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

Merged
merged 3 commits into from
Oct 8, 2020
Merged

Remove orphaned scripts / makefile #356

merged 3 commits into from
Oct 8, 2020

Conversation

taldcroft
Copy link
Member

Description

Neither of the two scripts are called anywhere and bad_stars.py apparently hasn't been run in 5 years. This is all overtaken by improvements in mica (bad obsid list and mag stats). The bad_stars script relies on an unmaintained sybase table.

The Makefile just seems a leftover from another era, but not 100% sure.

This came up in working on removing Sybase dependencies.

Testing

  • [N/A] Passes unit tests : no installed code calls either of these scripts
  • [N/A] Functional testing

@taldcroft taldcroft requested a review from jeanconn October 7, 2020 12:47
@jeanconn
Copy link
Contributor
jeanconn commented Oct 7, 2020

I've still been using the Makefile to call regression, but could set that up differently.

@jeanconn
Copy link
Contributor
jeanconn commented Oct 8, 2020

Oh, and I have been using the top level Makefile not the one in starcheck/data/Makefile. The one you suggest removing seems fine to go.

@jeanconn
Copy link
Contributor
jeanconn commented Oct 8, 2020

Since we are still using the agasc.bad list made with bad_stars.py I don't know if we want to remove the script (and manual_bad_stars) until we swap to using the agasc supplement (which I suppose we could do at any point, I was just headed to doing it more via #327 ).

@taldcroft
Copy link
Member Author

I think of agasc.bad just being a fixed legacy file that we will continue to use for now but never again update. The bad_stars.py has not been run since 2015 to update that file, so I really don't see why not to just start tidying up a bit.

@taldcroft
Copy link
Member Author

The driver of course being that bad_stars.py uses sybase and gives the appearance of a sybase dependency.

@jeanconn
Copy link
Contributor
jeanconn commented Oct 8, 2020

I already removed agasc.bad in the sparkles branch I think, because I was letting sparkles do the bad star tests from the agasc supplement. My point about maybe waiting and removing together was that bad_stars.py at least can tell you why a star is in the current list.

@taldcroft
Copy link
Member Author

I really don't think we care at this point, and it's going to all be overtaken by mag-stats.

@jeanconn
Copy link
Contributor
jeanconn commented Oct 8, 2020

OK. Then this PR could remove the manual stars file and the sausage one too.

@taldcroft
Copy link
Member Author

Done, removed those two.

@taldcroft taldcroft merged commit 5934d09 into master Oct 8, 2020
@taldcroft taldcroft deleted the orphaned-scripts branch October 8, 2020 19:47
@javierggt javierggt mentioned this pull request Dec 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0