File tree Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -109,6 +109,9 @@ install_prereqs_for_macos() {
109
109
}
110
110
111
111
install_prereqs_for_centos7 () {
112
+ # Centos 7 has been EOL'ed as of 07/01/2024. Use vault.centos.org instead of mirrorlist.centos.org
113
+ sed -i ' s/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
114
+ sed -i ' s|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
112
115
yum install -y -q which wget git &&
113
116
yum install -y -q autoconf automake libtool unzip &&
114
117
yum install -y -q cmake3 patch &&
Original file line number Diff line number Diff line change @@ -372,14 +372,17 @@ cdef class _GenomicsDB:
372
372
373
373
cdef void * arrow_array = NULL
374
374
while True :
375
- arrow_array = processor.arrow_array()
376
- if arrow_array:
377
- array_capsule = pycapsule_get_arrow_array(arrow_array)
378
- array_obj = _ArrowArrayWrapper._import_from_c_capsule(schema_capsule, array_capsule)
379
- arrays = [pa.array(array_obj.child(i)) for i in range (array_obj.n_children)]
380
- yield pa.RecordBatch.from_arrays(arrays, schema = schema).serialize().to_pybytes()
381
- else :
382
- break
375
+ try :
376
+ arrow_array = processor.arrow_array()
377
+ if arrow_array:
378
+ array_capsule = pycapsule_get_arrow_array(arrow_array)
379
+ array_obj = _ArrowArrayWrapper._import_from_c_capsule(schema_capsule, array_capsule)
380
+ arrays = [pa.array(array_obj.child(i)) for i in range (array_obj.n_children)]
381
+ yield pa.RecordBatch.from_arrays(arrays, schema = schema).serialize().to_pybytes()
382
+ else :
383
+ break
384
+ except Exception as e:
385
+ raise GenomicsDBException(" Exception from processing of arrow arrays" , e)
383
386
384
387
if batching:
385
388
query_thread.join()
You can’t perform that action at this time.
0 commit comments