SyntekabioTools / HLAscan

Other
24 stars 2 forks source link

The program return code is 1 after finished, it should be 0. #4

Open TuBieJun opened 3 years ago

TuBieJun commented 3 years ago

This problem make workflow in cloud crash

anoronh4 commented 3 years ago

i would also like to know how to fix exit code here. my only output is as follows:

=====================================================
HLAscan v2.1
Report created
2021. 7. 13.    18:48:13
========================================================
HLA gene : HLA-A
# of considered types : 3182

----------- HLA-Types -----------
[Type 1]    02:11:01    EX3_5.61957_56.6667 EX2_15_100  EX4_5.55435_50  EX5_6.04274_100 
[Type 2]    11:01:01:02 EX3_4.86232_100 EX2_20.0185_100 EX4_5.60507_55  EX5_9.94872_100 

------------------------------------------------------------

which is what i'm expecting but the exit code is also 1

@TuBieJun, although this is a problem that needs to be fixed, you may be able to work around it by executing <hlascan command> | true, assuming you have not set set -o pipefail.