error with getSSREdges()

User 8aa9ad62e8

20-05-2012 15:17:19

Hello,


First of all sorry if this is posted in the wrong place - I am new to both chemaxon products and also java. Please feel free to move this post if it belongs to another subforum.


 


I have someone elses code (which I am trying to contact) and I am getting a compilation error:


 


MQN.java:195: cannot find symbol
symbol  : method getSSSREdges()
location: class chemaxon.struc.Molecule
     int[][] sssre = m.getSSSREdges();
                      ^
Note: MQN.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error


 


If anyone could provide any assistance with what I might do to fix this, I'd appreciate it. I did search on the net and forums but did not find anything.


Kind regards,


Sebastian

ChemAxon a3d59b832c

20-05-2012 15:26:47

Hi Sebastian,


 


I have moved your question to the structure representation topic.


My colleagues will respond soon.


 


Best regards,


Szabolcs

User 8aa9ad62e8

20-05-2012 15:41:02

Hello,


Thanks for redirecting the post to where it can be dealt with best. I appreciate your help thus far.


Kind regards,


Sebastian

ChemAxon 2cd598e7ad

21-05-2012 11:05:24

Hi, Sebastian,

Try m.getSSSRBonds() instead of m.getSSSREdges(). I hope it helps!

Best regards,
Domonkos

User 8aa9ad62e8

21-05-2012 13:59:11

Thanks Domonkos, that seemed to do the trick, it now compiles and works fine...


I know it works now because it's complaining about no licence file! I will contact chemaxon for this shortly.


 


Many thanks,


Sebastian