Skip to content

Confusing usage of current_queue_info #711

Description

@wakonig

Name overlaps with "current_scan_info" in the scan_worker (https://github.com/bec-project/bec/blob/main/bec_server/bec_server/scan_server/scan_worker.py#L192). In the scan_worker, the attribute is used a dict used to create the ScanStatusMessage and store information about the upcoming acquisition. In this class, it is the QueuInfoEntry.As this is on the ScanStorage, I think this can get confusing and I would vote for renaming it to for example "current_queue_info".

Originally posted by @cappel89 in #704 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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