To match the 3.9.0 style of applying filters (i.e., separating definition from execution), the filters definition functions need an apply= parameter that determines whether the apply() function should be called. These functions are:
create_column_filter
create_degree_filter
create_composite_filter
These changes have been applied to py4cytoscape already ... note that the apply= parameter was added to the end of the parameter lists so as to not invalidate any existing code that passes positional parameters. The "*, apply=" syntax in Python indicates that the apply= parameter must be named and cannot be used positionally. This enables it to be used without invalidating any code that uses positional parameters.
To match the 3.9.0 style of applying filters (i.e., separating definition from execution), the filters definition functions need an apply= parameter that determines whether the apply() function should be called. These functions are:
These changes have been applied to py4cytoscape already ... note that the apply= parameter was added to the end of the parameter lists so as to not invalidate any existing code that passes positional parameters. The "*, apply=" syntax in Python indicates that the apply= parameter must be named and cannot be used positionally. This enables it to be used without invalidating any code that uses positional parameters.