Skip to content

Commit

Permalink
Set child_plugin to salting plugins (#48)
Browse files Browse the repository at this point in the history
Because they borrowed the functions but not the lineage

close #42
  • Loading branch information
dachengx committed Apr 28, 2024
1 parent ab18078 commit 85f81b8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions axidence/plugins/salting/event_building.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

class EventsSalted(Events, ExhaustPlugin):
__version__ = "0.1.0"
child_plugin = True
depends_on = ("peaks_salted", "peak_proximity_salted", "peak_basics", "peak_proximity")
provides = "events_salted"
data_kind = "events_salted"
Expand Down Expand Up @@ -111,6 +112,7 @@ def compute(self, peaks_salted, peaks, start, end):

class EventBasicsSalted(EventBasics, ExhaustPlugin):
__version__ = "0.0.0"
child_plugin = True
depends_on: Tuple[str, ...] = (
"events_salted",
"peaks_salted",
Expand Down
5 changes: 5 additions & 0 deletions axidence/plugins/salting/peak_correlation.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

class PeakProximitySalted(PeakProximity):
__version__ = "0.0.0"
child_plugin = True
depends_on = ("peaks_salted", "peak_basics")
provides = "peak_proximity_salted"
data_kind = "peaks_salted"
Expand Down Expand Up @@ -60,6 +61,7 @@ def find_n_competing(peaks, peaks_salted, windows, fraction):

class PeakShadowSalted(PeakShadow):
__version__ = "0.0.0"
child_plugin = True
depends_on = ("peaks_salted", "peak_basics", "peak_positions")
provides = "peak_shadow_salted"
data_kind = "peaks_salted"
Expand All @@ -80,6 +82,7 @@ def compute(self, peaks_salted, peaks):

class PeakAmbienceSalted(PeakAmbience):
__version__ = "0.0.0"
child_plugin = True
depends_on = ("peaks_salted", "lone_hits", "peak_basics", "peak_positions")
provides = "peak_ambience_salted"
data_kind = "peaks_salted"
Expand All @@ -100,6 +103,7 @@ def compute(self, peaks_salted, lone_hits, peaks):

class PeakNearestTriggeringSalted(PeakNearestTriggering):
__version__ = "0.0.0"
child_plugin = True
depends_on = ("peaks_salted", "peak_proximity_salted", "peak_basics", "peak_proximity")
provides = "peak_nearest_triggering_salted"
data_kind = "peaks_salted"
Expand All @@ -120,6 +124,7 @@ def compute(self, peaks_salted, peaks):

class PeakSEDensitySalted(PeakSEDensity):
__version__ = "0.0.0"
child_plugin = True
depends_on = ("peaks_salted", "peak_basics", "peak_positions")
provides = "peak_se_density_salted"
data_kind = "peaks_salted"
Expand Down

0 comments on commit 85f81b8

Please sign in to comment.