Skip to content

Commit

Permalink
Merge pull request #56 from NSLS-II/sirepo-bluesky-patch
Browse files Browse the repository at this point in the history
Sirepo-bluesky patch
  • Loading branch information
thomaswmorris authored Jan 16, 2024
2 parents 2db9796 + dd0fe80 commit 0b4eccd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blop/bayesian/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def tell(
raise ValueError("Must supply either x and y, or data.")
data = {**x, **y, **metadata}

data = {k: np.atleast_1d(v) for k, v in data.items()}
data = {k: list(np.atleast_1d(v)) for k, v in data.items()}
unique_field_lengths = {len(v) for v in data.values()}

if len(unique_field_lengths) > 1:
Expand Down

0 comments on commit 0b4eccd

Please sign in to comment.