This commit is contained in:
@@ -11,8 +11,8 @@ sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')
|
|||||||
from slic.utils.tqdm_mod import *
|
from slic.utils.tqdm_mod import *
|
||||||
|
|
||||||
|
|
||||||
def extract_last_line(output):
|
def extract_lines(output, label):
|
||||||
return output.strip().splitlines()[-1]
|
return [line for line in output.strip().splitlines() if label in line]
|
||||||
|
|
||||||
def get_bar_visual(line):
|
def get_bar_visual(line):
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user