aboutsummaryrefslogtreecommitdiff
path: root/gn3/commands.py
diff options
context:
space:
mode:
authorzsloan2022-02-02 20:10:00 +0000
committerzsloan2022-02-02 14:15:25 -0600
commit750bc975650d27e67d1d0b3f6ecaab6582304b44 (patch)
treec35ef02507b42e89287e0f9761ba46baf3768135 /gn3/commands.py
parent9ac9e6a305e5e96d24a67a7469e3f2ea66fc0c72 (diff)
downloadgenenetwork3-750bc975650d27e67d1d0b3f6ecaab6582304b44.tar.gz
Fix R/qtl covar bug
The rqtl_wrapper script was throwing an error when only a single categorical covariate was used. This is apparently because "covars[,name]" throws an error in such a situation. Using just "covars" in such a situation prevents the error. So I just added an if statement checking the number of covariates. There might be some better way to deal with this in R, but this is the best I could come up with.
Diffstat (limited to 'gn3/commands.py')
0 files changed, 0 insertions, 0 deletions