broadinstitute / epi-SHARE-seq-pipeline

Epigenomics Program pipeline to analyze SHARE-seq data.
MIT License
17 stars 3 forks source link

no way to force exit jupyter nb execution via papermill #108

Closed sidwekhande closed 1 year ago

sidwekhande commented 1 year ago

Cannot find a way to force exit jupyter notebook running IRkernel via papermill. This mainly affects the DORCs correlation function, which goes into an infinite loop if there are no common barcodes between RNA and ATAC matrices.

sidwekhande commented 1 year ago

adding quit(1) exits execution but not in a clean manner

sidwekhande commented 1 year ago

using a combination of stop() and return NULL inside error()