Sha256: bb81cd4dbbecc0c52bb73119c412cf89f8c2ed8fa0ded69c49888d282f65d1f6

Contents?: true

Size: 1.98 KB

Versions: 1

Compression:

Stored size: 1.98 KB

Contents

/*
Copyright Ideaconsult Ltd. (C) 2005-2007  

Contact: nina@acad.bg

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public License
as published by the Free Software Foundation; either version 2.1
of the License, or (at your option) any later version.
All we ask is that proper credit is given for our work, which includes
- but is not limited to - adding the above copyright notice to the beginning
of your source code files, and to any copyright notice that you may distribute
with programs based on this work.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA
*/

package mutant.rules;

import java.util.logging.Level;

import toxTree.tree.rules.StructureAlert;
import ambit2.smarts.query.SMARTSException;


/**
 * Quinones 

 * @author nina
 *
 */
public class SA12_gen extends StructureAlert {
	public static String[] QUINONES = {
		"O=[#6]1[#6]=,:[#6][#6](=O)[#6]=,:[#6]1",
		"O=[#6]1[#6]=,:[#6][#6]=,:[#6][#6]1(=O)"};
	/**
	 * 
	 */
	private static final long serialVersionUID = -134744118620760662L;
	protected static String Quinones_Title = "Quinones";
	public SA12_gen() {
			super();
			try {

				for (int i=0; i < QUINONES.length;i++)
					addSubstructure(Quinones_Title+Integer.toString(i+1), QUINONES[i]);

				
				setID("SA12_gen");
				setTitle(Quinones_Title);
				setExplanation(Quinones_Title);
				
				examples[0] = "O=C1CCC(=O)CC1";
				examples[1] = "O=C1C=CC(=O)C=C1";	
			} catch (SMARTSException x) {
				logger.log(Level.SEVERE,x.getMessage(),x);
			}
	}
}


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
toxtree-0.0.1 Toxtree-v2.6.13/src/mutant/rules/SA12_gen.java