Skip to content

Commit

Permalink
doit
Browse files Browse the repository at this point in the history
  • Loading branch information
carnisj committed Sep 12, 2021
1 parent d4c85dd commit 49dd777
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ This module provides classes and methods for the definition of the experimental
The geometry of the following beamlines is implemented:

* ID01 (ESRF)
* P10 (PETRA III)
* P10 (PETRA III): 6-circle and USAXS setups
* CRISTAL (SOLEIL)
* SIXS (SOLEIL)
* NANOMAX (MAX IV)
Expand Down
5 changes: 1 addition & 4 deletions bcdi/preprocessing/bcdi_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1294,10 +1294,7 @@ def load_bcdi_data(
)
frames_pattern = kwargs.get("frames_pattern")
valid.valid_1d_array(
frames_pattern,
allow_none=True,
allowed_values={0, 1},
name="frames_pattern"
frames_pattern, allow_none=True, allowed_values={0, 1}, name="frames_pattern"
)

rawdata, rawmask, monitor, frames_logical = setup.diffractometer.load_check_dataset(
Expand Down
5 changes: 1 addition & 4 deletions bcdi/preprocessing/cdi_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -644,10 +644,7 @@ def load_cdi_data(
)
frames_pattern = kwargs.get("frames_pattern")
valid.valid_1d_array(
frames_pattern,
allow_none=True,
allowed_values={0, 1},
name="frames_pattern"
frames_pattern, allow_none=True, allowed_values={0, 1}, name="frames_pattern"
)

rawdata, rawmask, monitor, frames_logical = setup.diffractometer.load_check_dataset(
Expand Down

0 comments on commit 49dd777

Please sign in to comment.