Skip to content

Commit

Permalink
Remove Bayes models
Browse files Browse the repository at this point in the history
  • Loading branch information
dachengx committed Nov 22, 2024
1 parent 1c3bd28 commit 40e7eb7
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 302 deletions.
1 change: 0 additions & 1 deletion straxen/corrections_services.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"s1_xyz_map_mlp",
"fdc_map_mlp",
"s1_aft_xyz_map",
"bayes_model",
]

single_value_corrections = [
Expand Down
3 changes: 0 additions & 3 deletions straxen/plugins/events/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@
from . import event_top_bottom_params
from .event_top_bottom_params import *

from . import event_w_bayes_class
from .event_w_bayes_class import *

from . import s2_recon_pos_diff
from .s2_recon_pos_diff import *

Expand Down
39 changes: 0 additions & 39 deletions straxen/plugins/events/event_w_bayes_class.py

This file was deleted.

3 changes: 0 additions & 3 deletions straxen/plugins/peaks/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,3 @@

from . import peak_corrections
from .peak_corrections import *

from . import peak_classification_bayes
from .peak_classification_bayes import *
224 changes: 0 additions & 224 deletions straxen/plugins/peaks/peak_classification_bayes.py

This file was deleted.

2 changes: 1 addition & 1 deletion tests/plugins/_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def run_pytest_from_main():
"""Build new unit test for provided functions.
For example, you might want to run it for a single module, in that case you don't want to run
ALL the tests. So you can do e.g. `python bayes_plugin.py` where we only collect the tests
ALL the tests. So you can do e.g. `python peak_building.py` where we only collect the tests
defined in that module.
"""
Expand Down
29 changes: 0 additions & 29 deletions tests/plugins/bayes_plugin.py

This file was deleted.

3 changes: 1 addition & 2 deletions tests/plugins/test_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@
import inspect

# Need import to attach new tests to the PluginTestAccumulator
import bayes_plugin
import event_building
import peak_building
import posrec_plugins
import event_building
import nv_processing
import local_minimum_plugin

Expand Down

0 comments on commit 40e7eb7

Please sign in to comment.