OmicsML / dance

DANCE: a deep learning library and benchmark platform for single-cell analysis
https://pydance.readthedocs.io
BSD 2-Clause "Simplified" License
348 stars 34 forks source link

feat: pipeline resolve #395

Closed RemyLau closed 8 months ago

RemyLau commented 8 months ago

Automatically resolve pipeline registry scope.

Example:

type: preprocessor
pipeline:
  - type: feature.cell
    target: WeightedGenePCA
    scope: _registry_  # this will be set by default

is the same as

pipeline:
  - target: WeightedGenePCA
    scope: _registry_.preprocessor.feature.cell

The WeightedGenePCA object will be obtained from dance's REGISTRY under the scope of preprocessor.feature.cell.