533 Commits
Author SHA1 Message Date
Noel O'Boyle 940a8fb309 More updates to the path to the new source files. 2010-05-09 18:00:36 +00:00
Noel O'Boyle 2add5e1024 2010-05-06 Noel O'Boyle
* scripts/CMakeLists.txt: Place the SWIG-generated files in the
	source directory (TODO: Require -DRUN_SWIG for developers). Correct
	EQUAL to STREQUAL. Remove unnecessary soft link.
2010-05-06 21:02:42 +00:00
Noel O'Boyle f57656970e 2010-04-26 Noel O'Boyle
* test/CMakeLists.txt, test/testbindings.py, test/test_pybel.py:
	Separate the pybel tests from the Python binding tests
	* scripts/python/examples/testpybel.py: Get the Pybel tests to pass on
	Linux
	* scripts/CMakeLists.txt: Force the Python build to output to
	scripts/pybuild. Otherwise it created a temporary folder whose name
	differed from platform to platform (e.g. lib.linux-x86_64.2.6) which
	made it difficult to handle automatically.
2010-04-27 09:35:35 +00:00
Noel O'Boyle 3d6dc5d93b 2010-04-25 Noel O'Boyle
* test\CMakeLists.txt, test\testbindings.py, test\testexample.py:
	Enable the use of the Python bindings for testing. Run the Pybel
	tests. Add a simple example test as a template.
	* scripts\python\examples\testpybel.py: Get the Pybel tests to pass
2010-04-25 11:30:10 +00:00
Noel O'Boyle ccdb8517da 2010-04-21 Noel O'Boyle
* scripts/CMakeLists.txt: Edit variables to correspond to Konstantin's
	recent changes (something to do with a superpackage build..?)
2010-04-21 10:39:20 +00:00
Noel O'Boyle b792bb07db 2010-04-20 Noel O'Boyle
* scripts/CMakeLists.txt: Handle local and global Python installs
	in a (to me) sensible way
2010-04-20 20:32:11 +00:00
Konstantin Tokarev 1fc667905d Corrected superpackage build with python 2010-04-06 18:27:47 +00:00
Konstantin Tokarev 550af16049 Fixed building with Python in superpackage 2010-03-24 19:22:11 +00:00
Noel O'Boyle d39b0eb253 Tidy up Python build on Windows 2010-03-13 12:38:46 +00:00
Noel O'Boyle 5934edee4b 2010-03-13 Noel O'Boyle
* scripts/CMakeLists.txt, scripts/python/setup.py: Compile the
	SWIG bindings manually.
2010-03-13 11:57:35 +00:00
Noel O'Boyle c5621afbb4 Adding ignore for OpenBabel::FptIndex; as it was breaking the linking step. Not sure why. 2010-03-01 17:14:16 +00:00
Noel O'Boyle 9658f5afb9 Avoid error when running SWIG. 2010-02-28 14:27:03 +00:00
Noel O'Boyle f2c52613ec Revert one of my changes that got rid of warnings 2010-02-16 10:13:51 +00:00
Noel O'Boyle 17e00be9d1 2010-02-15 Noel O'Boyle
* scripts/openbabel-python.i: Get rid of warnings. Allow access to
	rotors. Tidy up the interface a bit (prevent people calling C++
	iterators, for instance)
2010-02-15 10:44:09 +00:00
Noel O'Boyle afb12d1eb7 2009-09-21 Noel O'Boyle <baoilleach@gmail.com>
* scripts/*: Copied + pasted the scripts directory from 22x as a number
	of commits were never merged.
2009-09-21 11:12:00 +00:00
Noel O'Boyle 36baf46d9e 2009-09-20 Noel O'Boyle <baoilleach@gmail.com>
* scripts/CMakeLists.txt: Support for pybel. Revert regression that
	prevented linked against Python libraries.
	* include/openbabel/text.h: Add newline at end to avoid warning
2009-09-20 18:08:00 +00:00
Noel O'Boyle 7403d535ca 2009-09-17 Noel O'Boyle <baoilleach@gmail.com>
* include/stereo/stereo.h: Remove obsolete stereo functions and
	associated documentation
	* scripts/CMakeLists.txt: Add option PYTHON_PREFIX to allow the user
	to specify where the Python library will be installed. Note that it
	creates an _openbabel.dll on Windows in error (it should be
	_openbabel.pyd)
2009-09-17 17:36:31 +00:00
Tim Vandermeersch 8940190757 Add in the new python files (already available on 22x 2009-07-18 22:35:00 +00:00
Tim Vandermeersch f30e3c476a Removed pybel.py which has already been replaced 2009-07-18 22:34:38 +00:00
Tim Vandermeersch ba44a484d6 Update headers to enable python bindings to work. 2009-07-18 22:33:52 +00:00
Tim Vandermeersch e4fa3d172d Updated Python build to that of 22x branch
Conflicts:

	scripts/openbabel-python.i
2009-07-18 22:23:56 +00:00
Tim Vandermeersch 06ac95285d Various updates to stereochemistry
* Use Config structs for Tetrahedral and CisTrans
* Merge Changes from Noel

Conflicts:

	scripts/CMakeLists.txt
	src/formats/smilesformat.cpp
2009-07-18 22:21:03 +00:00
Tim Vandermeersch 67e3cc113b Merged revisions 3131,3133-3135 via svnmerge from
https://openbabel.svn.sourceforge.net/svnroot/openbabel/openbabel/branches/openbabel-2-2-x

........
  r3131 | timvdm | 2009-07-07 17:24:36 +0200 (Tue, 07 Jul 2009) | 2 lines
  
  Add pH parameter to babel's command line -p option (e.g. -p 1, -p 7.4, -p 14)
........
  r3133 | chrismorl | 2009-07-08 10:32:20 +0200 (Wed, 08 Jul 2009) | 1 line
  
  Small change to parsing of Gaussformat to prevent crash with some files
........
  r3134 | chrismorl | 2009-07-08 10:38:54 +0200 (Wed, 08 Jul 2009) | 1 line
  
  Update MSVC build files and OB version
........
  r3135 | baoilleach | 2009-07-08 16:55:42 +0200 (Wed, 08 Jul 2009) | 4 lines
  
  2009-07-08  Noel O'Boyle  <baoilleach@gmail.com>
  
  	* scripts/openbabel-java.i: Added support for foreach loops using the
  	Iterators
........
2009-07-18 11:28:12 +00:00
Tim Vandermeersch 16302b65bc Merged revisions 3091-3094,3097-3100 via svnmerge from
https://openbabel.svn.sourceforge.net/svnroot/openbabel/openbabel/branches/openbabel-2-2-x

........
  r3091 | ghutchis | 2009-06-22 00:24:46 +0200 (Mon, 22 Jun 2009) | 5 lines
  
          * src/chains.cpp (OpenBabel): Fix for PR#2691618. When writing
          hydrogen atoms without chain names, make sure there are never
          spaces.
........
  r3092 | ghutchis | 2009-06-22 15:24:47 +0200 (Mon, 22 Jun 2009) | 4 lines
  
          * src/generic.cpp: Fix unit cell when setting possibly zero
          translation vectors ( e.g. PR#1961604).
........
  r3093 | timvdm | 2009-06-22 22:54:24 +0200 (Mon, 22 Jun 2009) | 2 lines
  
  Fix phmodel.txt rules to match both free & polymerized amino acids.
........
  r3094 | ghutchis | 2009-06-24 00:06:49 +0200 (Wed, 24 Jun 2009) | 2 lines
  
  Updated from Tim's recent change.
........
  r3097 | ghutchis | 2009-06-24 21:26:55 +0200 (Wed, 24 Jun 2009) | 2 lines
  
  Added Craig's changes for randomized SMILES order.
........
  r3098 | ghutchis | 2009-06-25 05:36:47 +0200 (Thu, 25 Jun 2009) | 4 lines
  
          * src/generic.cpp (OBUnitCell): Make sure to set the space group
          to P1 by default and after FillUnitCell.
........
  r3099 | ghutchis | 2009-06-25 05:36:56 +0200 (Thu, 25 Jun 2009) | 6 lines
  
          * src/formats/mopacformat.cpp: Read and write translation vectors,
          if available.
  
          * src/formats/gaussformat.cpp: Ditto
........
  r3100 | ghutchis | 2009-06-25 20:14:18 +0200 (Thu, 25 Jun 2009) | 2 lines
  
  Fix PR#2784880 -- compiling with OPENBABEL_INSTALL set fails (e.g., on MacPorts).
........
2009-07-18 09:55:34 +00:00
Tim Vandermeersch 967ec60730 Merged revisions 3071,3073-3080 via svnmerge from
https://openbabel.svn.sourceforge.net/svnroot/openbabel/openbabel/branches/openbabel-2-2-x

........
  r3071 | baoilleach | 2009-06-18 11:08:17 +0200 (Thu, 18 Jun 2009) | 1 line
  
  bump python scripting to 1.5
........
  r3073 | ghutchis | 2009-06-19 21:17:13 +0200 (Fri, 19 Jun 2009) | 2 lines
  
  Fix typo in FOR_RINGS_OF_MOL macro.
........
  r3074 | ghutchis | 2009-06-19 23:09:34 +0200 (Fri, 19 Jun 2009) | 6 lines
  
          * src/kekulize.cpp (expandcycle): Fix PR#2705497. Kekulize has
          problems with fused aromatic rings joined by a non-aromatic
          ring. Make sure when expanding aromatic cycles that we only accept
          atoms which are in the *same* ring from OBMol::GetSSSR().
........
  r3075 | ghutchis | 2009-06-20 00:27:22 +0200 (Sat, 20 Jun 2009) | 2 lines
  
  Fix for PR#1814248.
........
  r3076 | ghutchis | 2009-06-20 14:51:29 +0200 (Sat, 20 Jun 2009) | 6 lines
  
          * src/kekulize.cpp (expandcycle): Rewritten as cleaner recursive
          function. Look for largest possible aromatic cycle. Fixes more
          bugs, but still has issues with "figure 8" ring systems,
          e.g. c12n(nnn1)cccc2.
........
  r3077 | ghutchis | 2009-06-20 14:51:51 +0200 (Sat, 20 Jun 2009) | 3 lines
  
          * test/*: Update with recent changes.
........
  r3078 | ghutchis | 2009-06-20 16:57:32 +0200 (Sat, 20 Jun 2009) | 5 lines
  
          * src/kekulize.cpp (expandcycle): Rewritten as cleaner recursive
          function. Look for largest possible aromatic cycle, including
          handling fused "figure 8" ring systems.
........
  r3079 | ghutchis | 2009-06-20 16:57:45 +0200 (Sat, 20 Jun 2009) | 3 lines
  
          * test/*: Update with recent changes.
........
  r3080 | ghutchis | 2009-06-20 17:16:47 +0200 (Sat, 20 Jun 2009) | 2 lines
  
  More fixes -- use Noel's atom precidence. Fixes problems with azole rings with pyrrole vs. pyridynyl atoms.
........
2009-07-18 09:26:46 +00:00
Tim Vandermeersch 4c95b25762 Merged revisions 3063-3068,3070 via svnmerge from
https://openbabel.svn.sourceforge.net/svnroot/openbabel/openbabel/branches/openbabel-2-2-x

........
  r3063 | baoilleach | 2009-06-16 19:40:47 +0200 (Tue, 16 Jun 2009) | 3 lines
  
  The first of a series of commits where I try to get the CSharp bindings into shape.
  
  Moving Windows-specific files away from scripts/csharp into windows-vc2005/OBCSharp
........
  r3064 | baoilleach | 2009-06-16 20:05:21 +0200 (Tue, 16 Jun 2009) | 1 line
  
  Create openbabel-mono.i, a mono-specific version of openbabel-csharp.i, primarily for use on Linux/MacOSX. It is currently an exact checkout of svn r2805 of openbabel-csharp.i.
........
  r3065 | baoilleach | 2009-06-16 20:17:22 +0200 (Tue, 16 Jun 2009) | 1 line
  
  Update windows release build to use libstdinchi.lib
........
  r3066 | baoilleach | 2009-06-16 21:24:16 +0200 (Tue, 16 Jun 2009) | 1 line
  
  Updates to Windows CSharp build files
........
  r3067 | baoilleach | 2009-06-16 22:17:06 +0200 (Tue, 16 Jun 2009) | 7 lines
  
  Changelog for previous commits
  
  2009-06-16  Noel O'Boyle  <baoilleach@gmail.com>
  
  	* windows-vc2005/OBCSharp and CSharp files in scripts: Separate .NET
  	and Mono SWIG files. Move .NET files to windows-vc2005. Update
  	relevant files.
........
  r3068 | mr_grieves | 2009-06-17 22:18:51 +0200 (Wed, 17 Jun 2009) | 2 lines
  
  Skip selective dynamics line if present -- Thanks for janneb in #avogadro for pointing this out. Also include 'K' and 'k' in coordinate type selection.
........
  r3070 | baoilleach | 2009-06-18 11:06:34 +0200 (Thu, 18 Jun 2009) | 1 line
  
  Minor updates to scripting READMEs
........
2009-07-18 09:15:31 +00:00
Tim Vandermeersch 0082bcde7f Merged revisions 3027-3031 via svnmerge from
https://openbabel.svn.sourceforge.net/svnroot/openbabel/openbabel/branches/openbabel-2-2-x

........
  r3027 | ghutchis | 2009-05-22 19:54:18 +0200 (Fri, 22 May 2009) | 2 lines
  
  Make sure to define OB_MODULE_PATH for dlhandler_unix
........
  r3028 | ghutchis | 2009-05-26 19:56:17 +0200 (Tue, 26 May 2009) | 2 lines
  
  Fix bug introduced with 2D code -- many molecules will come in as 0D, not 3D.
........
  r3029 | ghutchis | 2009-05-27 01:23:11 +0200 (Wed, 27 May 2009) | 4 lines
  
          * data/element.txt, data/element.h: Update atomic radii with
          consistent sets from recent publications.
........
  r3030 | ghutchis | 2009-05-27 01:23:54 +0200 (Wed, 27 May 2009) | 2 lines
  
  Backport r3026, removing IMPVAL for alkali and alkaline earth metals.
........
  r3031 | baoilleach | 2009-05-27 15:45:11 +0200 (Wed, 27 May 2009) | 3 lines
  
  2009-05-27  Noel O'Boyle  <baoilleach@gmail.com>
  
          * scripts/openbabel-python.i: Allow access to OBBuilder and matrix3x3
........
2009-07-17 23:30:46 +00:00
Tim Vandermeersch 59525bbb80 Merged revisions 2986 via svnmerge from
https://openbabel.svn.sourceforge.net/svnroot/openbabel/openbabel/branches/openbabel-2-2-x

........
  r2986 | mesprague | 2009-04-22 05:22:41 +0200 (Wed, 22 Apr 2009) | 1 line
  
  Last fix on interface file prior to release. 
........
2009-07-17 22:41:06 +00:00
Tim Vandermeersch df20970351 Merged revisions 2969 via svnmerge from
https://openbabel.svn.sourceforge.net/svnroot/openbabel/openbabel/branches/openbabel-2-2-x

........
  r2969 | mesprague | 2009-04-19 10:08:02 +0200 (Sun, 19 Apr 2009) | 1 line
  
  Added additional array types to C# wrapper.
........
2009-07-17 22:11:40 +00:00
Tim Vandermeersch a2d8c5ccb7 Merged revisions 2965-2967 via svnmerge from
https://openbabel.svn.sourceforge.net/svnroot/openbabel/openbabel/branches/openbabel-2-2-x

........
  r2965 | mesprague | 2009-04-15 07:43:40 +0200 (Wed, 15 Apr 2009) | 1 line
  
  Checking in interface file ready for testing and release as OBDotNet v0.2.
........
  r2966 | mesprague | 2009-04-15 21:25:33 +0200 (Wed, 15 Apr 2009) | 1 line
  
  Generic proxy class from std::vector. File from SWIG SVN repository.
........
  r2967 | mesprague | 2009-04-16 11:20:05 +0200 (Thu, 16 Apr 2009) | 1 line
  
  Annotated file with source and modification info.
........
2009-07-17 22:08:48 +00:00
Geoffrey Hutchison 70c6d2407f Patch from Pierre-Louis for SWIG bindings. 2009-04-01 01:10:39 +00:00
Geoffrey Hutchison 2b849f4282 Merged revisions 2735,2740,2744,2806-2807 via svnmerge from
https://openbabel.svn.sourceforge.net/svnroot/openbabel/openbabel/branches/openbabel-2-2-x

........
  r2735 | timvdm | 2008-10-04 15:47:45 -0400 (Sat, 04 Oct 2008) | 4 lines
  
          * src/forcefield.cpp: Fix OBForceField::GetAtomTypes() and
          OBForceField::GetPartialCharges()
........
  r2740 | baoilleach | 2008-10-11 10:42:31 -0400 (Sat, 11 Oct 2008) | 5 lines
  
  2008-10-10  Noel O'Boyle  <baoilleach@gmail.com>
  
  	* scripts/openbabel-perl.i: Replaced the C++ iterators by Perl classes
  which can be used for iteration natively in Perl.
........
  r2744 | baoilleach | 2008-10-16 13:27:54 -0400 (Thu, 16 Oct 2008) | 5 lines
  
  2008-10-16  Noel O'Boyle  <baoilleach@gmail.com>
  
  	* scripts/openbabel-python.i: Added casting methods for all of the
  	different types of OBGenericData
........
  r2806 | ghutchis | 2008-12-17 12:39:32 -0500 (Wed, 17 Dec 2008) | 2 lines
  
  Added #include <limits> from r2765. Should solve Noel's build problems.
........
  r2807 | ghutchis | 2008-12-17 15:09:12 -0500 (Wed, 17 Dec 2008) | 2 lines
  
  Added #include <limits> to hopefully help Noel with his compile problems.
........
2009-03-24 20:49:13 +00:00
Geoffrey Hutchison fdcd45b468 Merge of svn commits r2707, 2711, 2713, 2717 from 2.2 release branch. 2009-03-23 02:13:53 +00:00
Tim Vandermeersch 4e6b0844da Add swig python bindings to cmake build 2009-02-11 21:59:42 +00:00
Geoffrey Hutchison b53092d0fb * configure.in, config.* ac*.m4, Makefile.am, Makefile.in: Remove
autotools build files. Use Cmake instead.
2008-11-22 16:15:03 +00:00
Geoffrey Hutchison d9c4574f96 * src/Makefile.am, src/ops/Makefile.am: Build mcdlutil.cpp and
gen2D.cpp plugin.

        * configure.in: Update to indicate that trunk is not 2.2.0
        build. (May go into a 2.3 or 3.0 build.)
2008-11-21 05:49:12 +00:00
Noel O'Boyle 0f0799c777 2008-07-09 Noel O'Boyle <baoilleach@gmail.com>
* scripts/python/pybel.py: Bug fix for make3D for linear molecules.
	Fixes bug 2014055. Minor doc fixes. Remember to close output files
	in Molecule.write()
2008-07-09 12:04:52 +00:00
Michael Banck 2185a1bd21 2008-07-03 Michael Banck <mbanck@gmx.net>
* scripts/Makefile.am (dist-hook): Do not fail if make distclean does
        not succeed in the perl and ruby directories.
        * scripts/Makefile.in: Regenerated.
2008-07-03 18:04:55 +00:00
Noel O'Boyle b4a4d5339a 2008-07-03 Noel O'Boyle <baoilleach@gmail.com>
* scripts/ruby/README: Updated build instructions
2008-07-03 18:02:14 +00:00
Geoffrey Hutchison 5be244b5fb Build updates for 2.2.0 release. 2008-07-01 19:10:53 +00:00
Geoffrey Hutchison 6f7c6cb1de Makefile.PL update from Noel. 2008-07-01 18:18:40 +00:00
Noel O'Boyle f94eab6d2a 2008-07-01 Noel O'Boyle <baoilleach@gmail.com>
* scripts/python/pybel.py: Make pybel use CloneData instead of SetData
2008-07-01 13:49:22 +00:00
Noel O'Boyle b37217aa52 2008-07-01 Noel O'Boyle <baoilleach@gmail.com>
* scripts/openbabel-python.i: Make the BFS Iterator return two values,
	the Atom and the depth
2008-07-01 13:25:05 +00:00
Geoffrey Hutchison 13e410b049 * Makefile.am: Move cmake to EXTRA_DIST (4 Makefiles for one
file?)
        * Makefile.in: Regenerated.
2008-06-30 17:27:46 +00:00
Geoffrey Hutchison 034d809ad2 Build updates for 2.2.0b7 snapshot. 2008-06-26 19:48:24 +00:00
Noel O'Boyle 625a89e365 * Reverted r2535 except for changes to scripts/perl/Makefile.PL
* scripts/openbabel-python.i: Updated SWIG interface file to ignore 21 methods of each std::vector created. This should substantially reduce the size of the wrapper code
2008-06-17 19:03:50 +00:00
Geoffrey Hutchison 024240cd78 Split python bindings into multiple pieces. Should solve PR#1905826. 2008-06-05 22:42:47 +00:00
Geoffrey Hutchison fcaf23194f Minor fixes to SWIG generation -- should provide slightly smaller code generation. 2008-06-05 03:38:16 +00:00
Noel O'Boyle 58766a72f0 2005-05-31 Noel O'Boyle <baoilleach@gmail.com>
* scripts/openbabel-csharp.i: Fixed two of the three remaining
	std::vectors based on examples found in Krugle code search
2008-05-31 10:19:19 +00:00
Noel O'Boyle 529fcf9c48 * scripts/openbabel-csharp.i: Fixed most of the std::vectors by using weird macro described in std_vector.i in the SWIG distribution. 2008-05-30 20:26:50 +00:00