format
This commit is contained in:
parent
745763ce2e
commit
5d42d74639
|
@ -22,7 +22,8 @@ class Computation:
|
||||||
# lock this row by update is_done_flag to 0
|
# lock this row by update is_done_flag to 0
|
||||||
self.c_db.lock_the_sample(sample_random)
|
self.c_db.lock_the_sample(sample_random)
|
||||||
print(
|
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)
|
dct_exp = {column: getattr(sample_random.experiment, column)
|
||||||
for column in sample_random.experiment.__table__.c.keys()}
|
for column in sample_random.experiment.__table__.c.keys()}
|
||||||
|
|
Loading…
Reference in New Issue