Skip to content
Snippets Groups Projects
Commit e36fe999 authored by Alán Muñoz's avatar Alán Muñoz
Browse files

change(post): capitalise Processes

parent 65206fe0
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ from postprocessor.core.lineageprocess import (
)
class bud_metricParameters(LineageProcessParameters):
class BudMetricParameters(LineageProcessParameters):
"""
Parameters
"""
......@@ -18,13 +18,13 @@ class bud_metricParameters(LineageProcessParameters):
_defaults = {"lineage_location": "postprocessing/lineage_merged"}
class bud_metric(LineageProcess):
class BudMetric(LineageProcess):
"""
Requires mother-bud information to create a new dataframe where the indices are mother ids and
values are the daughters' values for a given signal.
"""
def __init__(self, parameters: bud_metricParameters):
def __init__(self, parameters: BudMetricParameters):
super().__init__(parameters)
def run(
......
......@@ -3,8 +3,8 @@ from agora.abc import ParametersABC
from postprocessor.core.abc import PostProcessABC
from postprocessor.core.functions.tracks import get_joinable
# TODO Why not capitalized?
class mergerParameters(ParametersABC):
class MergerParameters(ParametersABC):
"""
:param tol: float or int threshold of average (prediction error/std) necessary
to consider two tracks the same. If float is fraction of first track,
......@@ -22,8 +22,7 @@ class mergerParameters(ParametersABC):
}
# TODO Why not capitalized?
class merger(PostProcessABC):
class Merger(PostProcessABC):
"""
Combines rows of tracklet that are likely to be the same.
"""
......
......@@ -10,7 +10,7 @@ from agora.utils.association import validate_association, last_col_as_rows
from postprocessor.core.lineageprocess import LineageProcess
class pickerParameters(ParametersABC):
class PickerParameters(ParametersABC):
_defaults = {
"sequence": [
["lineage", "families"],
......@@ -19,7 +19,7 @@ class pickerParameters(ParametersABC):
}
class picker(LineageProcess):
class Picker(LineageProcess):
"""
:cells: Cell object passed to the constructor
:condition: Tuple with condition and associated parameter(s), conditions can be
......@@ -30,7 +30,7 @@ class picker(LineageProcess):
def __init__(
self,
parameters: pickerParameters,
parameters: PickerParameters,
cells: Cells,
):
super().__init__(parameters=parameters)
......
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