Closed lmoureaux closed 1 year ago
In a variety of situations, Law prints the status of the first few job followed by ...and N more. It adds the ...and N more even when N is 1 and printing the extra job would have taken as much space as the ...and 1 more line.
...and N more
...and 1 more
I think code like this could account for the extra line by checking i + 2 instead of i + 1: https://github.com/riga/law/blob/70a223f57512e9e3e377a27709ad74067dacf07f/law/workflow/remote.py#L832-L838
i + 2
i + 1
I think this should be done together with #135, increasing the threshold by 1 as you proposed.
Works great!
In a variety of situations, Law prints the status of the first few job followed by
...and N more
. It adds the...and N more
even when N is 1 and printing the extra job would have taken as much space as the...and 1 more
line.I think code like this could account for the extra line by checking
i + 2
instead ofi + 1
: https://github.com/riga/law/blob/70a223f57512e9e3e377a27709ad74067dacf07f/law/workflow/remote.py#L832-L838