re-order add_feature
arguments
#633
Labels
covariates
modules from the 'features' subpackage
disc
Discussion needed, to better define the task/s
stale
issue not touched from too much time
The function is currently defined by default as follows:
There is only 1 feature for which the
pdb_path
is actually used. However as currently implemented it must always be given. For this reason, it would make more sense ifpdb_path
is requested last, so that it can just be omitted in mostadd_features
calls.But I think it would be even better to always take
**kwargs
as an argument in this function. Any specific argument needed for the feature in question can be explicitly named, and all others can be "hidden" in the kwargs. This also opens up the possibility for adding other keywords to future (or user defined) features that are not currently used, while maintaining a default structure.The text was updated successfully, but these errors were encountered: