pybiolib 1.2.197__py3-none-any.whl → 1.2.209__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- biolib/compute_node/job_worker/executors/docker_executor.py +4 -0
- biolib/jobs/job.py +1 -0
- biolib/tables.py +10 -1
- {pybiolib-1.2.197.dist-info → pybiolib-1.2.209.dist-info}/METADATA +1 -1
- {pybiolib-1.2.197.dist-info → pybiolib-1.2.209.dist-info}/RECORD +8 -8
- {pybiolib-1.2.197.dist-info → pybiolib-1.2.209.dist-info}/LICENSE +0 -0
- {pybiolib-1.2.197.dist-info → pybiolib-1.2.209.dist-info}/WHEEL +0 -0
- {pybiolib-1.2.197.dist-info → pybiolib-1.2.209.dist-info}/entry_points.txt +0 -0
@@ -501,6 +501,10 @@ class DockerExecutor:
|
|
501
501
|
stdout=stdout,
|
502
502
|
)
|
503
503
|
except Exception as exception:
|
504
|
+
logger.error("Hit Error 23")
|
505
|
+
logger.exception("Error")
|
506
|
+
logger.error(str(exception))
|
507
|
+
time.sleep(3)
|
504
508
|
raise ComputeProcessException(
|
505
509
|
exception,
|
506
510
|
SystemExceptionCodes.FAILED_TO_SERIALIZE_AND_SEND_MODULE_OUTPUT.value,
|
biolib/jobs/job.py
CHANGED
@@ -32,6 +32,7 @@ class Job:
|
|
32
32
|
table_columns_to_row_map = OrderedDict(
|
33
33
|
{
|
34
34
|
'ID': {'key': 'uuid', 'params': {'width': 36}},
|
35
|
+
'Name': {'key': 'main_result.name', 'params': {}},
|
35
36
|
'Application': {'key': 'app_uri', 'params': {}},
|
36
37
|
'Status': {'key': 'state', 'params': {}},
|
37
38
|
'Started At': {'key': 'started_at', 'params': {}},
|
biolib/tables.py
CHANGED
@@ -17,7 +17,16 @@ class BioLibTable:
|
|
17
17
|
columns = [Column(header=header, **meta['params']) for header, meta in self.columns_to_row_map.items()]
|
18
18
|
table = Table(*columns, title=self.title)
|
19
19
|
for row in self.rows:
|
20
|
-
|
20
|
+
row_values: List[str] = []
|
21
|
+
for column in self.columns_to_row_map.values():
|
22
|
+
keys = column['key'].split('.')
|
23
|
+
value = row[keys[0]]
|
24
|
+
for key in keys[1:]:
|
25
|
+
if not value or key not in value:
|
26
|
+
continue
|
27
|
+
value = value[key]
|
28
|
+
row_values.append(str(value))
|
29
|
+
table.add_row(*row_values)
|
21
30
|
return table
|
22
31
|
|
23
32
|
def print_table(self):
|
@@ -78,7 +78,7 @@ biolib/compute_node/job_worker/cache_state.py,sha256=MwjSRzcJJ_4jybqvBL4xdgnDYSI
|
|
78
78
|
biolib/compute_node/job_worker/cache_types.py,sha256=ajpLy8i09QeQS9dEqTn3T6NVNMY_YsHQkSD5nvIHccQ,818
|
79
79
|
biolib/compute_node/job_worker/docker_image_cache.py,sha256=ansHIkJIq_EMW1nZNlW-RRLVVeKWTbzNICYaOHpKiRE,7460
|
80
80
|
biolib/compute_node/job_worker/executors/__init__.py,sha256=bW6t1qi3PZTlHM4quaTLa8EI4ALTCk83cqcVJfJfJfE,145
|
81
|
-
biolib/compute_node/job_worker/executors/docker_executor.py,sha256=
|
81
|
+
biolib/compute_node/job_worker/executors/docker_executor.py,sha256=Ygt3JgJJ1QuQ4WBgUsu6AnjBtu4vtYFA5oI4x8U6jw8,28189
|
82
82
|
biolib/compute_node/job_worker/executors/docker_types.py,sha256=VhsU1DKtJjx_BbCkVmiPZPH4ROiL1ygW1Y_s1Kbpa2o,216
|
83
83
|
biolib/compute_node/job_worker/executors/tars/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
84
84
|
biolib/compute_node/job_worker/executors/types.py,sha256=yP5gG39hr-DLnw9bOE--VHi-1arDbIYiGuV1rlTbbHI,1466
|
@@ -103,12 +103,12 @@ biolib/compute_node/webserver/worker_thread.py,sha256=GRRBUqXdMKvbjyLQhYlqGIbFKe
|
|
103
103
|
biolib/experiments/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
104
104
|
biolib/experiments/experiment.py,sha256=m7FB7hot8CMOVrNyWGPB6FTkWQJwI0ytpIvtPxfoPME,7684
|
105
105
|
biolib/jobs/__init__.py,sha256=aIb2H2DHjQbM2Bs-dysFijhwFcL58Blp0Co0gimED3w,32
|
106
|
-
biolib/jobs/job.py,sha256=
|
106
|
+
biolib/jobs/job.py,sha256=et1slGdzczp112iJlHVp_7eTyhGoGSKxP31jgAwQuiM,20163
|
107
107
|
biolib/jobs/job_result.py,sha256=rALHiKYNaC9lHi_JJqBob1RubzNLwG9Z386kwRJjd2M,5885
|
108
108
|
biolib/jobs/types.py,sha256=ezvaoTANsWazK6PmfpYcqezdfjP7MNBEBfqIZGoZhz8,997
|
109
109
|
biolib/runtime/__init__.py,sha256=MlRepA11n2H-3plB5rzWyyHK2JmP6PiaP3i6x3vt0mg,506
|
110
110
|
biolib/sdk/__init__.py,sha256=8uyOAKt8-Xo11jAWXCg14NkE1u0FkOBC07L3V7wGsCg,1960
|
111
|
-
biolib/tables.py,sha256=
|
111
|
+
biolib/tables.py,sha256=MmruV-nJLc3HbLVJBAiDuDCgS2-4oaUkpoCLLUNYbxQ,1173
|
112
112
|
biolib/templates/__init__.py,sha256=Yx62sSyDCDesRQDQgmbDsLpfgEh93fWE8r9u4g2azXk,36
|
113
113
|
biolib/templates/example_app.py,sha256=EB3E3RT4SeO_ii5nVQqJpi5KDGNE_huF1ub-e5ZFveE,715
|
114
114
|
biolib/typing_utils.py,sha256=ntzrlyTkUaO2OtccLYzCAGztGdca0WT5fikJUmSkT-Y,148
|
@@ -120,8 +120,8 @@ biolib/utils/cache_state.py,sha256=u256F37QSRIVwqKlbnCyzAX4EMI-kl6Dwu6qwj-Qmag,3
|
|
120
120
|
biolib/utils/multipart_uploader.py,sha256=XvGP1I8tQuKhAH-QugPRoEsCi9qvbRk-DVBs5PNwwJo,8452
|
121
121
|
biolib/utils/seq_util.py,sha256=Ozk0blGtPur_D9MwShD02r_mphyQmgZkx-lOHOwnlIM,6730
|
122
122
|
biolib/utils/zip/remote_zip.py,sha256=0wErYlxir5921agfFeV1xVjf29l9VNgGQvNlWOlj2Yc,23232
|
123
|
-
pybiolib-1.2.
|
124
|
-
pybiolib-1.2.
|
125
|
-
pybiolib-1.2.
|
126
|
-
pybiolib-1.2.
|
127
|
-
pybiolib-1.2.
|
123
|
+
pybiolib-1.2.209.dist-info/LICENSE,sha256=F2h7gf8i0agDIeWoBPXDMYScvQOz02pAWkKhTGOHaaw,1067
|
124
|
+
pybiolib-1.2.209.dist-info/METADATA,sha256=S5YPbQ5LyZ0kFQVu_4wZOiVzJo3Z4WRvCl-3tM3WLJ4,1558
|
125
|
+
pybiolib-1.2.209.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
126
|
+
pybiolib-1.2.209.dist-info/entry_points.txt,sha256=p6DyaP_2kctxegTX23WBznnrDi4mz6gx04O5uKtRDXg,42
|
127
|
+
pybiolib-1.2.209.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|