Skip to content

Jungfrau: Decide on path provider logic #1336

@olliesilvester

Description

@olliesilvester

During Jungfrau testing we've tried a few different things for setting the path, all of which were quite fiddly. It's a bit to sort this out properly at the moment since the way we actually launch Bluesky is also in flux. Until we're using BlueAPI properly, we should commit something which gives us something sensible in the meantime. I think good behaviour is:

  • Storage directory from the parameters is taken as the file path for the Jungfrau. Pathprovider then auto increments in a nicer way than AutoIncrementingPathProvider (i.e it doesn't go back to 0 once you restart python)
  • Filename is worked out based off plan metadata
  • Error if file with this name already exists in this path (shouldn't happen if the provider is made properly)
  • Remove override_file_path from the existing plans

Acceptance Criteria

  • Path logic implemented which matches above behaviour

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions