Skip to content

Commit

Permalink
Merge branch 'fix_logging_message' into 'next'
Browse files Browse the repository at this point in the history
use f-strings on logging messages

See merge request sns-hfir-scse/sans/sans-backend!1186
  • Loading branch information
jmborr committed Dec 18, 2024
2 parents b47f01d + c39b2cb commit 22f7504
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/drtsans/mono/biosans/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1549,8 +1549,8 @@ def _prepare_sample_transmission_ws(_sample_transmission):
wedges = getWedgeSelection(iq2d_main_in, **autoWedgeOpts)
logger.notice("found wedge angles:")
peak_wedge, back_wedge = wedges
logger.notice(" peak: ", peak_wedge)
logger.notice(" background:", back_wedge)
logger.notice(f" peak: {peak_wedge}")
logger.notice(f" background: {back_wedge}")
del peak_wedge, back_wedge
logger.notice(f"wedges: {wedges}")

Expand Down

0 comments on commit 22f7504

Please sign in to comment.