From 5d42d74639ea2ac1ac0162c557f0c208929c3b62 Mon Sep 17 00:00:00 2001 From: HaoYizhi Date: Mon, 15 May 2023 13:45:07 +0800 Subject: [PATCH] format --- computation.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/computation.py b/computation.py index d7953e7..ccf0d97 100644 --- a/computation.py +++ b/computation.py @@ -22,7 +22,8 @@ class Computation: # lock this row by update is_done_flag to 0 self.c_db.lock_the_sample(sample_random) print( - f"Pid {self.pid} ({str_code}) is running sample {sample_random.id} at {datetime.datetime.now()}") + f"Pid {self.pid} ({str_code}) is running " + f"sample {sample_random.id} at {datetime.datetime.now()}") dct_exp = {column: getattr(sample_random.experiment, column) for column in sample_random.experiment.__table__.c.keys()}