BIMSBbioinfo / pigx_rnaseq

Bulk RNA-seq Data Processing, Quality Control, and Downstream Analysis Pipeline
GNU General Public License v3.0
20 stars 11 forks source link

catching missing qsub error #70

Open alexg9010 opened 4 years ago

alexg9010 commented 4 years ago

This line throws a cryptic errror message dur to changes introduced in python 3.7 or later: https://github.com/BIMSBbioinfo/pigx_rnaseq/blob/cf2bc38149c297b688ea97e3d6aef1d2d7b12a3a/pigx-rnaseq.in#L339

Basically errno became a separate module and is not part of os anymore

simple fix: change from os.errno.x to errno.x (https://www.programcreek.com/python/example/374/errno.ENOENT)