Skip to content

Commit 2a78b74

Browse files
committed
beamcut summary now uses automatic method list production.
1 parent 80eb559 commit 2a78b74

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

src/astrohack/beamcut_mds.py

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
plot_beamcut_in_attenuation_chunk,
1313
create_report_chunk,
1414
)
15+
from astrohack.utils import print_method_list_xdt
1516
from astrohack.utils.text import (
1617
print_summary_header,
1718
print_dict_table,
@@ -132,15 +133,7 @@ def summary(self) -> None:
132133
print_summary_header(self.file)
133134
print_dict_table(self._input_pars)
134135
print_data_contents(self, ["Antenna", "DDI", "Cut"])
135-
print_method_list(
136-
[
137-
self.summary,
138-
self.plot_beamcut_in_amplitude,
139-
self.plot_beamcut_in_attenuation,
140-
self.create_beam_fit_report,
141-
self.observation_summary,
142-
]
143-
)
136+
print_method_list_xdt(self)
144137

145138
@validate(custom_checker=custom_unit_checker)
146139
def observation_summary(

0 commit comments

Comments
 (0)