Skip to content
This repository was archived by the owner on Dec 16, 2022. It is now read-only.
This repository was archived by the owner on Dec 16, 2022. It is now read-only.

AD_Acquire, clarify the meaning of the path kwarg  #293

@prjemian

Description

@prjemian

In AD_Acquire there is a path kwarg that is used to set the path the detector uses to write image files and also the path that bluesky will write the DM workflow file. Can't do that since the Lambda2M does not have the same filesystems as the bluesky workstation. Execution fails here:

yield from update_metadata_postscan()
hdf_with_fullpath = make_hdf5_workflow_filename()
print(f"HDF5 workflow file name: {hdf_with_fullpath}")
with a permissions error. Suggest refactoring with pathlib and consider det.hdf1.read_path_template and det.hdf1.write_path_template. Also, clarify the meaning of the path kwarg (IOC or Bluesky sense).

Originally posted by @prjemian in #292 (comment)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions