mskilab-org / JaBbA

MIP based joint inference of copy number and rearrangement state in cancer whole genome sequence data.
MIT License
56 stars 25 forks source link

installation with Gurobi not work #65

Closed banlangen523 closed 2 years ago

banlangen523 commented 2 years ago

hi, I tried install with Gurobi but failed. I tested gurobi and it could work in my R. Either by devtools::install() or by install.packages('...v1.1.tar.gz', ...) does not work. Both gave: ...

could you have a look on this? thank you.

zining01 commented 2 years ago

Hi, thanks reaching out and sharing your error log!

JaBbA throws an error if the environment variable CPLEX_DIR is not defined - this was appropriate when we supported CPLEX exclusively, but should have been removed for users running JaBbA with Gurobi - sorry! Here is a patch that should address this: https://github.com/mskilab/JaBbA/tree/gurobi

Could you please try reinstalling from this branch? Please let us know if we can help further!

banlangen523 commented 2 years ago

great, I have installed it correctly.