AdamaJava / adamajava

Other
14 stars 4 forks source link

NPE from au.edu.qimr.qannotate.utils.CCM.getControl #334

Closed delocalizer closed 1 year ago

delocalizer commented 1 year ago

Describe the bug null returned from au.edu.qimr.qannotate.utils.CCM.getCCM gives NPE when CCM.getControl is called on it.

To Reproduce Steps to reproduce the behavior: Supply a value of ccm = 2 to CCM.getControl(CCM.getCCM(ccm))

Expected behavior Control value is returned

The problem appears to be that there is no int value 2 in the enum au.edu.qimr.qannotate.utils.CCM:

public enum CCM {
        ONE(1, ".","."),
        TWO(3, ".","."),
        THREE(3, ".","."),
        ...
delocalizer commented 1 year ago

closed with #335