Technical Support Forum Index
Technical Support Forum
Access ChemAxon scientists and developers here. For registration and login issues contact website support.

Support Ticket System is replacing forum

This forum was converted into a searchable archive. You cannot add posts here any more. For support please use our new Ticket System.

Create your first ticket
AutoMapper.guessMappingStyle() alternative
To watch this topic for replies  Register (enables digests) or give email address:
This topic is locked: you cannot edit posts or make replies.
Display posts from previous:   
    View previous topic :: View next topic    
Author Message
Leonid

Joined: 28 Jul 2010
Posts: 23

View user's profile

Back to top
Link to postPosted: Thu Dec 19, 2013 1:22 pmPost subject: AutoMapper.guessMappingStyle() alternative Reply with quote

Hello!

    chemaxon.marvin.modules.AutoMapper class is declared as deprecated, but there is no 1-on-1 mapping between it and its substitute, com.chemaxon.mapper.AutoMapper class. For eample, what method / piece of code should be used instead AutoMapper.guessMappingStyle() method?

Thank you.

aperagovics
ChemAxon personnel
Joined: 17 Jul 2013
Posts: 34

View user's profile

Back to top
Link to postPosted: Thu Dec 19, 2013 2:22 pmPost subject: Reply with quote

Hi Leonid,

I informed my colleagues about your question.

They will contact you shortly.

Best wishes,

Ágnes

Zsolt
ChemAxon personnel
Joined: 11 Jan 2006
Posts: 1163

View user's profile

Back to top
Link to postPosted: Thu Jan 02, 2014 8:29 pmPost subject: Reply with quote

We cleaned up the AutoMapper API quite a bit, and during this cleanup all unnecessary options and the methods which do not belong directly to automatic mapping were removed. The mentioned guessMappingStyle() falls to the later category, it's a utility method and is not required for mapping. We can collect the utility methods in a separate class in com.chemaxon.mapper package. 

Is there any other method you miss from the new com.chemaxon.mapper.AutoMapper class

Leonid

Joined: 28 Jul 2010
Posts: 23

View user's profile

Back to top
Link to postPosted: Fri Jan 10, 2014 10:26 amPost subject: Reply with quote

Hello Zsolt,

    Thank you for your answer. For the moment it is the only method I need but found missing.

Zsolt
ChemAxon personnel
Joined: 11 Jan 2006
Posts: 1163

View user's profile

Back to top
Link to postPosted: Fri Jan 17, 2014 11:34 amPost subject: Reply with quote

We reviewed what guessMappingStyle() method does, and in its current form we do not find it useful, mainly because of these steps:

     * 2. Remove existing maps from the clone the input molecule
     * 3. Automap the clone (full)
     * 4. Compare the original mapping to the mapping of the clone (pairwise):
     * 4.1 There is at least a non matching pair -> UNKNOWN mapping

Could you describe how you use the guessMappingStyle() method?

This topic is locked: you cannot edit posts or make replies.
Page 1 of 1


To watch this topic for replies   Register (enables digests) or give email address  
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum