-
Notifications
You must be signed in to change notification settings - Fork 12
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
Trim deprecated functions from SQLAPI.py (was--unused variables) #99
Comments
There's a lot of deadwood in SQLAPI.py; I never cleared out the things that became unnecessary with the switch to pandas for merging for fear it make break something running down at Rice. In each of these cases, it is safe to delete the entire code block that contains the offending line. There's a lot else that should go besides: a number of code blocks are tagged as deprecated, and I think I altered the line chart GUI to not use those methods. Plus there's a lot of code for caching that can be deleted as well. |
Great. Unless you have a commit already loaded, I'll remove this code. |
No commit on my end; cut away. I'm expanding the scope of this issue to include the various deprecated blocks. |
I cleaned the issues mentioned in the initial issue's scope with d8307c1, and followed backward looking for references to the removed code. You'll have to do a more detailed audit of the functions in SQLAPI.py before closing this issue. |
Each of the following lines is a bug in the current version of SQLAPI.py, but I defer to @bmschmidt as to what the proper resolution is for each.
smooth_function
seems to be part of a deprecated method that can likely be deleted. Thepickle
line seems to be expectingimport pickle
, not sure if it should be imported or the line removed. Theuserqueries
reference is wrapped in try/except, but it obviously will always do the latter, and theheaders
line is for what seems to be debug functionality that is no longer supported.The text was updated successfully, but these errors were encountered: