-
Notifications
You must be signed in to change notification settings - Fork 5
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
Remove the superfluous parameter in extract_GP (and some other functions) #107
Comments
As I mentioned in another issue, I generally approve of this. Are you planning to make this change in all feature sets or only for |
Yeah, I know we already talked about this. I guess the ideal would be to change all of them so there are no problems, right? |
Yes - in my opinion if we want to do it we need to do it to all extraction methods. I believe it should be sufficient to go |
I have been thinking about that since we last spoke about this issue. What if for the high-level routine we input a dictionary/ array that contains exactly the information we want to save? Eg: |
We could even offer multiple options: either a string (which signals saving all in the directory specified by it), or |
Hi @Catarina-Alves I'm very supportive of making the change of condensing |
@MichelleLochner, just to make sure I understood:
|
Issue #104 shows what can happen when we have superfluous parameters in a function. In that case, was
output_root
andsave_output
. They do seem different but their information could be condensed.This is especially relevant for the functions
extract_GP
andextract_features
. As bothoutput_root
andsave_output
are parameters, one could be trying to save some GPs or features by setting the path they want but it is not saved as thesave_output
flag isFalse
.Sure, this is a bad/sloppy use of the function but they should be resistant to these type of errors.
I propose removing
save_output
and work withoutput_root
in the following way:None
, it will not save anythingstr
, it is the path for the folder we want to save the GPs or the wavelets onI don't see any disadvantage with what I am proposing besides a hard time checking were are all the functions that need this change.
The text was updated successfully, but these errors were encountered: