Open Pezhvuk opened 5 years ago
Hey Peji -
Thanks for the info regarding this error. I'll be sure to add an informative error message for this situation.
I absolutely agree that tracebacks could be clearer. I'm currently looking into the cleanest way to incorporate this into general and will keep you updated. I should have more time to work on this once this quarter ends next week.
Hi Branden,
No problem. :)
I am going to try something and see if all the system
related error reports could be improved by changing how the system functions are passed, e.g. changing igblast_command %>% system
to system(igblast_command, intern=True)
, or something similar. I will try this for Partis today, and will be in touch shortly.
Hi Branden,
Perhaps, the hardest issue with debugging, that I have noticed, is the lack of comprehensive Traceback calls, as in the following report:
I think the problem has something to do with the
sys
command for some reason, but there isn't enough info to resolve it. I am experiencing a similar problem withPartisFunctions
, too (will post separately). This particular issue actually turned to be two-fold, the sys command, as well as the absence of germline genes in the expected directory, i.e.~/shared
directory, which would be a problem for theAssignGenes.py
script. TheAssignGenes.py
, I believe, reports this problem, but this is not reflected in the Sumrep error report.I eventually resolved this issue by changing the assignment to the
igblast_command
function (the one within theigBlastFunction.R
script) by directly passing the command-line command for igblast.Best, Peji.