Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError during tune() #141

Closed
prjemian opened this issue May 15, 2019 · 0 comments
Closed

ValueError during tune() #141

prjemian opened this issue May 15, 2019 · 0 comments
Assignees
Labels
Milestone

Comments

@prjemian
Copy link
Contributor

During USAXS tuning (tune_mr()), the plan failed during the report() with this exception: ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

The failure was due to a table cell value containing a numpy array. That contains more than one element. Need to wrap with str(). Shouldn't pyRestTable be defended similarly?

Also, in _scan(), the report() should come after the close_run() or the printed results table interrupts the primary stream table of scan values.

@prjemian prjemian added the bug label May 15, 2019
@prjemian prjemian added this to the milestone-2019-09 milestone May 15, 2019
@prjemian prjemian self-assigned this May 15, 2019
@prjemian prjemian modified the milestones: milestone-2019-09, 1.1.6 May 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant