Closed bistace closed 1 year ago
Hi, is Gurobi license working? If you have installed it before you still need to renew it (the same way you installed it) every few months. This seems like a license issue to me. If you run RESPECT with --debug
you will get more information regarding the error
Hello, adding --debug
did not change the output of RESPECT. For the license, I ran gurobi_cl
and got the following output:
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 945288
Set parameter LogFile to value "gurobi.log"
Academic license - for non-commercial use only - registered to benjamin.istace@genoscope.cns.fr
Using license file /opt/gurobi.lic
In the function solve_constrained_lp_using_gurobi
of optimizer.py
, I see this block:
if model.status == gurobipy.GRB.Status.OPTIMAL:
solution = model.getAttr('x', r)
return np.array(list(solution.values()))
If the status is not set to gurobipy.GRB.Status.OPTIMAL
, the function will not return anything and the constrained_spectra
in the estimate_repeat_spectra
function of optimizer.py
will be set to None, which is indeed not indexable. Could this be a possibility?
That is a possibility, but I haven't encountered that before running it on many samples. Does the code even reach to that point? You can add a print
statement to test that.
What happens when you try to run RESPECT on the toy data provided with the repository?
Hello,
you were right, it was indeed a license problem. After requesting a named-user license instead of a WLS license, RESPECT runs fine on test data.
Thanks a lot for your help!
Hello and thank you for developing RESPECT!
I am trying to run RESPECT on a set of public data (SRR17698145) but I am running into an error and don't know how to fix it. Could you please help me? Here is the complete log: