removed stdout redirection for now
This commit is contained in:
@@ -10,8 +10,8 @@ def compute_stuff(num: int, pbar: sc.threading.Multibar):
|
||||
speed = random.random() * 5
|
||||
for i in pbar(range(SIZE), desc=f"num {num}"):
|
||||
time.sleep(0.05 * speed * random.random())
|
||||
if random.random() > 0.98:
|
||||
print(f"some text {i}")
|
||||
# if random.random() > 0.98:
|
||||
# print(f"some text {i}")
|
||||
|
||||
|
||||
def main():
|
||||
|
||||
Reference in New Issue
Block a user