DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
dunedaq
sourcecode
daqconf
python
daqconf
cider
daq_app
main_app.py
Go to the documentation of this file.
1
'''
2
App for testing configuration
3
'''
4
from
os
import
environ
5
from
daqconf.cider.app_structures.main_screen
import
MainScreen
6
7
# Textual Imports
8
from
textual.app
import
App
9
10
class
DbeApp
(App):
11
# HACK: Need to sort this, only way to get the CSS to work
12
css_file_path = f
"{environ.get('DAQCONF_SHARE')}/config/textual_dbe/textual_css"
13
14
CSS_PATH = f
"{css_file_path}/main_app_layout.tcss"
15
SCREENS = {
"main"
: MainScreen}
16
17
_input_file_name =
None
18
19
def
set_input_file
(self, input_file_name: str):
20
self.
_input_file_name
= input_file_name
21
22
def
on_mount
(self):
23
24
self.push_screen(
"main"
)
25
if
self.
_input_file_name
is
not
None
:
26
self.app.get_screen(
"main"
).set_initial_input_file(self.
_input_file_name
)
cider.daq_app.main_app.DbeApp
Definition
main_app.py:10
cider.daq_app.main_app.DbeApp.on_mount
on_mount(self)
Definition
main_app.py:22
cider.daq_app.main_app.DbeApp.set_input_file
set_input_file(self, str input_file_name)
Definition
main_app.py:19
cider.daq_app.main_app.DbeApp._input_file_name
_input_file_name
Definition
main_app.py:17
Generated on Sat Jun 28 2025 for DUNE-DAQ by
1.12.0