Skip to content
Snippets Groups Projects
Commit ee850164 authored by pswain's avatar pswain
Browse files

Merge branch 'picker' of gitlab.com:aliby/aliby into picker

parents 67059355 4dd8bc21
No related branches found
No related tags found
No related merge requests found
...@@ -49,7 +49,7 @@ class BudMetric(LineageProcess): ...@@ -49,7 +49,7 @@ class BudMetric(LineageProcess):
""" """
signal: Daughter-inclusive dataframe signal: Daughter-inclusive dataframe
md: Mother-daughters dictionary where key is mother's index and value a list of daugher indices md: Mother-daughters dictionary where key is mother's index and its values are a list of daughter indices
Get fvi (First Valid Index) for all cells Get fvi (First Valid Index) for all cells
Create empty matrix Create empty matrix
......
...@@ -115,7 +115,7 @@ class Picker(LineageProcess): ...@@ -115,7 +115,7 @@ class Picker(LineageProcess):
case_mgr = { case_mgr = {
"any_present": lambda s, thresh: any_present(s, thresh), "any_present": lambda s, thresh: any_present(s, thresh),
"present": lambda s, thresh: s.notna().sum(axis=1) > thresh, "present": lambda s, thresh: s.notna().sum(axis=1) > thresh,
"nonstoply_present": lambda s, thresh: s.apply(thresh, axis=1) "continuously_present": lambda s, thresh: s.apply(thresh, axis=1)
> thresh, > thresh,
"growing": lambda s, thresh: s.diff(axis=1).sum(axis=1) > thresh, "growing": lambda s, thresh: s.diff(axis=1).sum(axis=1) > thresh,
} }
......
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