diff --git a/CHANGELOG.md b/CHANGELOG.md index 7efc48a6c0a1e8c4e1468c6cc039a7ec610ea1b5..8357d9514c8df3742ec61c9aff896562e3ebb38a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Release notes +## v3.2.4 +- GIXD: Fix bug when a 2D detector is present but images are empty. + +- Set is_print_abs to True by default. + ## v3.2.3 - Add the possibility to print the mean values of selected sensors in GIXS, GIXD, area_detector, XRF. diff --git a/lib/frontend/process_widgets/warea_detector.py b/lib/frontend/process_widgets/warea_detector.py index 2bc7d88a63cdb277e28d2b5ae6d63d0b3151cfaf..58fb96b68d580accf8ce70d89fe06c1d7b3378bf 100644 --- a/lib/frontend/process_widgets/warea_detector.py +++ b/lib/frontend/process_widgets/warea_detector.py @@ -152,7 +152,7 @@ def display_widgets_area_detector(expt): # Print absorbers dw['is_print_abs'] = iwid.Checkbox( - value=expt.get_default_param_value('is_print_abs', alt=False), + value=expt.get_default_param_value('is_print_abs', alt=True), style=style, layout=iwid.Layout(width='150px'), description='Print absorbers') diff --git a/lib/frontend/process_widgets/wgixd.py b/lib/frontend/process_widgets/wgixd.py index 6b8dbfe5c007b0a29bae287012fa52aef9f925fd..29a0af697bc9a7edff1c0bcbcb0b5b2d38126354 100644 --- a/lib/frontend/process_widgets/wgixd.py +++ b/lib/frontend/process_widgets/wgixd.py @@ -201,7 +201,7 @@ def display_widgets_gixd(expt): # Print absorbers dw['is_print_abs'] = iwid.Checkbox( - value=expt.get_default_param_value('is_print_abs', alt=False), + value=expt.get_default_param_value('is_print_abs', alt=True), style=style, layout=iwid.Layout(width='150px'), description='Print absorbers') diff --git a/lib/frontend/process_widgets/wgixs.py b/lib/frontend/process_widgets/wgixs.py index 5d9e118e4294278684f35bc26a67a93afb80d5e8..93bfb02037b5e0619970a8b05bf32c4ba8285299 100644 --- a/lib/frontend/process_widgets/wgixs.py +++ b/lib/frontend/process_widgets/wgixs.py @@ -198,7 +198,7 @@ def display_widgets_gixs(expt): # Print absorbers dw['is_print_abs'] = iwid.Checkbox( - value=expt.get_default_param_value('is_print_abs', alt=False), + value=expt.get_default_param_value('is_print_abs', alt=True), style=style, layout=iwid.Layout(width='150px'), description='Print absorbers') diff --git a/lib/frontend/process_widgets/wxrf.py b/lib/frontend/process_widgets/wxrf.py index c155e8c619bae263a79d7d01cf5d9cc9f254e162..a4aec99c500636c90e74f8ea66affd2ec877a39f 100644 --- a/lib/frontend/process_widgets/wxrf.py +++ b/lib/frontend/process_widgets/wxrf.py @@ -198,7 +198,7 @@ def display_widgets_xrf(expt): # Print absorbers dw['is_print_abs'] = iwid.Checkbox( - value=expt.get_default_param_value('is_print_abs', alt=False), + value=expt.get_default_param_value('is_print_abs', alt=True), style=style, layout=iwid.Layout(width='150px'), description='Print absorbers') diff --git a/lib/jupylabbook.py b/lib/jupylabbook.py index 2324afcc5ab681ffce78550f3d902897c8428b03..af5c01f2501082fb3eec87d0fc418b13f5c7d09b 100644 --- a/lib/jupylabbook.py +++ b/lib/jupylabbook.py @@ -22,7 +22,7 @@ except ModuleNotFoundError: # Rules for numbering versions # vX.Y.Z with X major, Y minor, Z patch. Each new version increments Z (not used if Z=0). # If the file Example.ipynb cannot run with the new libraries, increment Y and restart at Z=0. -__version__ = 'v3.2.3' +__version__ = 'v3.2.4' # Define the object experiment # It contains all the attributes relevant to the current experiment