Skip to content
Snippets Groups Projects
Commit 1cf5726b authored by Yassin's avatar Yassin
Browse files

Updating the filters module

parent 95a46b38
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,7 @@ class Backbone: ...@@ -12,7 +12,7 @@ class Backbone:
self.name = name self.name = name
self.column = column self.column = column
self.ascending = ascending self.ascending = ascending
self.filters = filters self.compatible_filters = filters
def to_dataframe(self): def to_dataframe(self):
...@@ -52,7 +52,7 @@ class Backbone: ...@@ -52,7 +52,7 @@ class Backbone:
def filters(self): def filters(self):
return self.filters return self.compatible_filters
# match self.name: # match self.name:
# case "Disparity Filter" | 'Noise Corrected Filter' | "Enhanced Configuration Model Filter" | "Marginal Likelihood Filter" | 'Locally Adaptive Network Sparsification Filter' | 'Global Threshold Filter': # case "Disparity Filter" | 'Noise Corrected Filter' | "Enhanced Configuration Model Filter" | "Marginal Likelihood Filter" | 'Locally Adaptive Network Sparsification Filter' | 'Global Threshold Filter':
# return [fraction_filter, threshold_filter] # return [fraction_filter, threshold_filter]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment