Skip to content
Snippets Groups Projects
Commit ff786b94 authored by Stefan Reck's avatar Stefan Reck
Browse files

rename keys for extractors & add missing ones

parent d6088eca
No related branches found
No related tags found
Loading
......@@ -5,8 +5,12 @@ import orcasong.extractors as extractors
# built-in extractors. First argument has to be the input filename,
# other parameters can be set via 'extractor_config' dict in the toml
EXTRACTORS = {
"neutrino_mc": extractors.get_neutrino_mc_info_extr,
"neutrino_data": extractors.get_real_data_info_extr,
"nu_chain_neutrino": extractors.get_neutrino_mc_info_extr,
"nu_chain_muon": extractors.get_muon_mc_info_extr,
"nu_chain_noise": extractors.get_random_noise_mc_info_extr,
"nu_chain_data": extractors.get_real_data_info_extr,
# TODO "bundle_mc": ???,
# TODO "bundle_data": ???,
}
MODES = {
......
......@@ -12,7 +12,7 @@ def _test_extr(infile):
return infile + "_extr"
orcasong.from_toml.EXTRACTORS["neutrino_mc"] = _test_extr
orcasong.from_toml.EXTRACTORS["nu_chain_neutrino"] = _test_extr
class TestSetupProcessorExampleConfig(TestCase):
......
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