Commit Graph

8 Commits

Author SHA1 Message Date
Noel O'Boyle
37588a1d49 * scripts/python/pybel.py, scripts/python/examples/testpybel.py:
Updated to use plugin descriptors. Changed to create a single instance
	of plugin descriptors and fingerprinters. Also, readfile now raises an
	IOError if the file does not exist.
	* scripts/python/examples/findcoverage.bat: Add .bat file to automate
	calculation of code coverage for pybel
2008-01-17 12:08:31 +00:00
Geoffrey Hutchison
858f8a39f9 * Merged in changes from 2.1.x branch. 2007-09-03 20:53:06 +00:00
Noel O'Boyle
174b5452bf * SWIG interface files: Added template for vectors of strings
* pybel.py: Added informats and outformats, dictionaries corresponding
	to the supported input and output format
2007-05-12 11:45:39 +00:00
Noel O'Boyle
5d1cdec9c3 * pybel.py: Added support for unitcell, and deletion of OBPairData
(need to update the tests and the API docs)
2007-05-10 11:00:13 +00:00
Noel O'Boyle
8270b862df 2007-05-08 Noel O'Boyle <baoilleach@gmail.com>
* scripting interfaces: added a method to cast OBGenericData to
	OBPairData
	* pybel: added dictionary-like support for accessing molecule data,
	and updated the tests and the API documentation
2007-05-08 12:33:05 +00:00
Noel O'Boyle
7f65eec16a * fingerprint.cpp/.h: Changed the FindFingerprint method to
accept
	const string& instead of string&. This is necessary for access 
to this
	function from Python.
	
	* scripts/python/pybel.py, testpybel.py, pybelapi.html: Added a 
method
	to Molecule for calculating a molecular fingerprint, handled by 
a new
	Fingerprint class.
2006-12-16 21:51:22 +00:00
Noel O'Boyle
7caab0c0f7 * scripts/python/pybel.py, testpybel.py, pybelapi.html: Added a
.close() method to the Outputfile class of Pybel. This uses the
	CloseOutFile() method added by Chris Morley in r1606. This is
	necessary to ensure that all tests pass on Windows.
2006-11-25 09:49:50 +00:00
Noel O'Boyle
71b835bcad * scripts/python/setup.py, pyopenbabel.py, testpyopenbabel.py,
pyopenbabelapi.html: Changed all references to pyopenbabel to 
pybel
        (new name). Also, corrected minor typo in docstring in pybel.py.
2006-11-18 13:31:04 +00:00