Skip to content

ValueError in apstools.plans.TuneAxis.tune._scan #139

@prjemian

Description

@prjemian

During USAXS testing, an error (APS-USAXS/usaxs-bluesky-ended-2023#203) was reported with this exception: ValueError: None not a valid type (int, float, ndarray, str, list, tuple). The code failed here:

/share1/bluesky/conda_envs/bluesky/lib/python3.7/site-packages/apstools/plans.py in _scan(md)
    623             if results.tune_ok.value:
    624                 yield from bps.create(name=stream_name)
--> 625                 yield from bps.read(results)
    626                 yield from bps.save()
    627

which is this code:

apstools/apstools/plans.py

Lines 623 to 626 in c6047ff

if results.tune_ok.value:
yield from bps.create(name=stream_name)
yield from bps.read(results)
yield from bps.save()

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions