Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content

Fix/progressbars autoupdate

wyzula_j requested to merge fix/progressbars_autoupdate into main

Description

  1. to set individual bar updates one do not need to know endpoints:

    • for scans/scan_progress one do `ring.set_update('scan')
    • for device readback → `ring.set_update('device','samx'), take into account that this is not changing any limits of the bar, so one has to setup limits manually.
    • if user sets update manually on any ring with ring.set_update(), the automatic updates received from scan_queue_status are disabled.
  2. bar.enable_auto_updates do not overwrite already setup bar properties

bar.enable_auto_updates(False)
bar.set_number_of_bars(4)
bar.set_line_widths(15)
bar.enable_auto_updates(True)
scans.some_scan(*args,**kwargs)
# bars stays 15 size

Related Issues

closes #205 (closed) #204 (closed)

Type of Change

  • set_number_of_bars changed
  • enable_auto_updates do not overwrite line_widths

Potential side effects

None

Additional Comments

@appel_c could you check if this works as intended? If yes I will then update docs as well

Definition of Done

  • Documentation is up-to-date.
Edited by wyzula_j

Merge request reports

Loading