Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Bayes models #1488

Merged
merged 1 commit into from
Nov 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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