Skip to content

Commit

Permalink
Default SMILES output.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmay committed Aug 24, 2016
1 parent cae0258 commit 9cece8b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,13 @@ private SmiFlavor() {
*/
public static final int Absolute = Canonical | Isomeric;


/**
* Default SMILES output write Stereochemistry, Atomic Mass, and CXSMILES layers. The
* ordering is not canonical.
*/
public static final int Default = Stereo | AtomicMass | CxSmiles;

/**
* Output canonical SMILES with stereochemistry, atomic masses using the
* InChI labelling algorithm {@cite OBoyle12}. With delocalised charges
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,13 +206,15 @@ public final class SmilesGenerator {
private final int flavour;

/**
* Create the generic SMILES generator.
* @see #generic()
* Create the SMILES generator, the default output is described by: {@link SmiFlavor#Default}
* but is best to choose/set this flavor.
*
* @see SmiFlavor#Default
* @deprecated use {@link #SmilesGenerator(int)} configuring with {@link SmiFlavor}.
*/
@Deprecated
public SmilesGenerator() {
this(0);
this(SmiFlavor.Default);
}

/**
Expand Down

0 comments on commit 9cece8b

Please sign in to comment.