perslab / depict

DEPICT code, instructions and an example
GNU General Public License v3.0
48 stars 23 forks source link

Exception / failure when number of unique loci exceeds 1000 #3

Closed Skybeetle closed 8 years ago

Skybeetle commented 8 years ago

Dear Tune H Pers, When our number of unique loci exceeds 1000, we are getting an exception and analysis failure. Could you please correct the following lines (currently 702 and 703) in the code file PerformPathwayAnalysisSusceptibilityLoci.java From: nrGenesPerUniqueLociEmpiricPerms = new int[nrPerms + nrReps][1000]; geneStartIndexPermutedLociEmpiricPerms = new int[nrPerms + nrReps][1000]; To: nrGenesPerUniqueLociEmpiricPerms = new int[nrPerms + nrReps][nrUniqueLoci]; geneStartIndexPermutedLociEmpiricPerms = new int[nrPerms + nrReps][nrUniqueLoci];

This correction and rebuild eliminated the problem for us. We exceed 1500 unique loci. No hurry, we are fine now, but maybe for one of the future builds?

tunepers commented 8 years ago

Thank you for making us aware of this error. It has now been resolved.

ZKamali commented 5 years ago

Dear Tune H Pers, The error prevails even after correction of this section in the current version.