Skip to content

Commit

Permalink
foresee possibility of single ax in DoseContribution
Browse files Browse the repository at this point in the history
  • Loading branch information
dodu94 committed Feb 25, 2025
1 parent 18a4b1d commit d7a6fb8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/jade/app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ def post_process(self):
os.mkdir(atlas_folder)

# perform the excel processing
logging.info("Processing Excel files for %s", benchmark)
excel_processor = ExcelProcessor(
self.tree.raw,
excel_folder,
Expand All @@ -241,6 +242,7 @@ def post_process(self):
excel_processor.process()

# perform the atlas processing
logging.info("Processing Atlas files for %s", benchmark)
atlas_processor = AtlasProcessor(
self.tree.raw,
atlas_folder,
Expand Down
2 changes: 2 additions & 0 deletions src/jade/post/plotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,8 @@ def _get_figure(self) -> tuple[Figure, Axes]:
fig, axes = plt.subplots(
nrows=nrows, ncols=1, gridspec_kw=gridspec_kw, sharex=True
)
if isinstance(axes, Axes):
axes = [axes]

indices = []
for idx, (codelib, df) in enumerate(self.data):
Expand Down

0 comments on commit d7a6fb8

Please sign in to comment.