nxtomomill.utils.progress.Progress#
- class nxtomomill.utils.progress.Progress(name)[source]#
Bases:
object
Simple 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_ :type max_:
Optional
[int
] :param max_: max progress valueset_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
()- rtype
None
Attributes
progress
- increase_advancement(i=1)[source]#
- Parameters
i (int) – increase the advancement of n step
- Return type
None