Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
alibylite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Swain Lab
aliby
alibylite
Commits
ee850164
Commit
ee850164
authored
1 year ago
by
pswain
Browse files
Options
Downloads
Plain Diff
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/postprocessor/core/reshapers/bud_metric.py
+1
-1
1 addition, 1 deletion
src/postprocessor/core/reshapers/bud_metric.py
src/postprocessor/core/reshapers/picker.py
+1
-1
1 addition, 1 deletion
src/postprocessor/core/reshapers/picker.py
with
2 additions
and
2 deletions
src/postprocessor/core/reshapers/bud_metric.py
+
1
−
1
View file @
ee850164
...
@@ -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
valu
e a list of daugher indices
md: Mother-daughters dictionary where key is mother
'
s index and
its values ar
e a list of daugh
t
er indices
Get fvi (First Valid Index) for all cells
Get fvi (First Valid Index) for all cells
Create empty matrix
Create empty matrix
...
...
This diff is collapsed.
Click to expand it.
src/postprocessor/core/reshapers/picker.py
+
1
−
1
View file @
ee850164
...
@@ -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
,
"
n
on
stop
ly_present
"
:
lambda
s
,
thresh
:
s
.
apply
(
thresh
,
axis
=
1
)
"
c
on
tinuous
ly_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
,
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment