Hi @PatrickRWright,
I am currently "cleaning" error handling in the scripts..
Is there a reason why you use within homology_intaRNA.pl sometimes an explicit error file err.log via ERRORLOG and sometimes die which writes to STDERR?
If not, I would like to unify both towards die for an early abortion with according exit status, while the latter can be used upstream in the calling script to check whether all went fine or something was aborted..
That way, we can have a clean exit with reasonable error message anywhere within the scripting-mess.. ;)
Thanks for feedback,
Martin
Hi @PatrickRWright,
I am currently "cleaning" error handling in the scripts..
Is there a reason why you use within
homology_intaRNA.plsometimes an explicit error fileerr.logvia ERRORLOG and sometimesdiewhich writes to STDERR?If not, I would like to unify both towards
diefor an early abortion with according exit status, while the latter can be used upstream in the calling script to check whether all went fine or something was aborted..That way, we can have a clean exit with reasonable error message anywhere within the scripting-mess.. ;)
Thanks for feedback,
Martin