nxtomomill.utils.progress.Progress#
- class nxtomomill.utils.progress.Progress(name: str)[source]#
Bases:
objectSimple interface for defining advancement on a 100 percentage base
Methods
__init__(name)Set advancement to 100 %
increase_advancement([i])- param int i:
increase the advancement of n step
reset([max_])reset the advancement to n and max advancement to max_ :param int max_:
set_advancement(value)- param int value:
set advancement to value
- param int n:
number of steps contained by the advancement. When
set_name(name)start_process()Attributes
progress- increase_advancement(i: int = 1) None[source]#
- Parameters:
i (int) – increase the advancement of n step