Start a new topic

method getNonHitBonds() is not available in MolHandler

I am upgrading a number of java applications in my company from using JChem release 6.4.0 to 19.21.3.  One of the problems I have is that the method getNonHitBonds() is not available in MolHandler class anymore.


Is there any replacement?


This is an example code we have:


ArrayList<MolBond> nhb = MolHandler.getNonHitBonds(templateMol, targetMol, hit);

            for (int x = 0; x < nhb.size(); x++) {

                MolBond bond = (MolBond) nhb.get(x);

                bond.setSetSeq(1);

            }


Any suggestions on how to resolve this error?

Thanks


Login to post a comment