From 5ba48da7870fe7550c7d5eb2476f9ffea7119118 Mon Sep 17 00:00:00 2001 From: __sp__ Date: Mon, 15 Sep 2014 21:55:56 -0700 Subject: [PATCH] Update dev docs Former-commit-id: 9ce8f152315d36226f616b48eb4cc041b75f7db6 [formerly 04356a3f2dfce82785a740e6857ab379f5a525d8] Former-commit-id: b9e7d5eac38661b3b8eaaf0e0120a73370d440e6 --- CHANGES.rst | 5 +++++ dev_scripts/profile_xml.py | 10 ++++++++++ docs/change_log.rst | 5 +++++ docs/latest_changes.rst | 6 +++--- docs/pymatgen.util.rst | 8 -------- setup.py | 2 +- 6 files changed, 24 insertions(+), 12 deletions(-) create mode 100644 dev_scripts/profile_xml.py diff --git a/CHANGES.rst b/CHANGES.rst index dccfb7e7b4f..5abe1b0151f 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,11 @@ Change log ========== +v3.0.2 +------ +1. Consistent use of unicode throughout pymatgen. +2. Minor bug fixes. + v3.0.1 ------ 1. Minor bug fixes for cifio. diff --git a/dev_scripts/profile_xml.py b/dev_scripts/profile_xml.py new file mode 100644 index 00000000000..d7eba43c474 --- /dev/null +++ b/dev_scripts/profile_xml.py @@ -0,0 +1,10 @@ + +from pymatgen.io.vaspio import Vasprun + +def parse_xml(): + v = Vasprun("../test_files/vasprun.xml") + +if __name__ == "__main__": + import timeit + print(timeit.timeit("parse_xml()", setup="from __main__ import parse_xml", + number=1)) diff --git a/docs/change_log.rst b/docs/change_log.rst index dccfb7e7b4f..5abe1b0151f 100644 --- a/docs/change_log.rst +++ b/docs/change_log.rst @@ -1,6 +1,11 @@ Change log ========== +v3.0.2 +------ +1. Consistent use of unicode throughout pymatgen. +2. Minor bug fixes. + v3.0.1 ------ 1. Minor bug fixes for cifio. diff --git a/docs/latest_changes.rst b/docs/latest_changes.rst index 9d1a02ec834..f7adf242b3f 100644 --- a/docs/latest_changes.rst +++ b/docs/latest_changes.rst @@ -1,7 +1,7 @@ Change log ========== -v3.0.1 +v3.0.2 ------ -1. Minor bug fixes for cifio. -2. Py3k updates for abinitio. +1. Consistent use of unicode throughout pymatgen. +2. Minor bug fixes. diff --git a/docs/pymatgen.util.rst b/docs/pymatgen.util.rst index d6a6be653e0..62845c1a0fa 100644 --- a/docs/pymatgen.util.rst +++ b/docs/pymatgen.util.rst @@ -34,14 +34,6 @@ pymatgen.util.io_utils module :undoc-members: :show-inheritance: -pymatgen.util.lazy module -------------------------- - -.. automodule:: pymatgen.util.lazy - :members: - :undoc-members: - :show-inheritance: - pymatgen.util.num_utils module ------------------------------ diff --git a/setup.py b/setup.py index ba74f309e07..7a61e6c0b3b 100644 --- a/setup.py +++ b/setup.py @@ -47,7 +47,7 @@ def get_spglib_ext(): setup( name="pymatgen", packages=find_packages(), - version="3.0.1", + version="3.0.2", install_requires=["numpy>=1.8", "pyhull>=1.5.2", "requests>=2.3.0", "pybtex>=0.18", "pyyaml>=3.11", "monty>=0.5.3", "six>=1.7.3"],