File tree Expand file tree Collapse file tree 13 files changed +86
-50
lines changed Expand file tree Collapse file tree 13 files changed +86
-50
lines changed Original file line number Diff line number Diff line change @@ -19,3 +19,4 @@ sphinxcontrib-qthelp
19
19
sphinxcontrib-serializinghtml
20
20
sphinxemoji
21
21
sphinx-issues
22
+ sphinxcontrib-programoutput
Original file line number Diff line number Diff line change 1
- |:pushpin: | Changes
2
- ===================
1
+ |:pushpin: | Changelog
2
+ =====================
3
+
4
+ Version 0.1.2
5
+ -------------
6
+
7
+ .. versionadded :: 0.1.2
8
+
9
+ * :func: `moxel.utils.load_json `
10
+ * Documentation for the :ref: `cli `.
11
+
12
+ .. versionremoved :: 0.1.2
13
+
14
+ * :func: `moxel.utils.get_names `
3
15
4
16
Version 0.1.1
5
17
-------------
@@ -21,13 +33,14 @@ Version 0.1.0
21
33
* The usage of the CLI is now ``moxel <command> `` instead of ``python -m
22
34
moxel ``.
23
35
24
- .. versionremoved :: 0.1.0
25
-
26
- * Easy imports, such as ``from moxel import Grid ``.
27
- * :func: `moxel.utils.batch_clean_and_merge `
28
-
29
36
.. versionadded :: 0.1.0
30
37
31
38
* :func: `moxel.utils.batch_clean `
32
39
* :func: `moxel.visualize.plot_voxels_pv ` for faster visualization.
33
40
* Optional parameter ``n_jobs `` for specifying number of cores.
41
+
42
+ .. versionremoved :: 0.1.0
43
+
44
+ * Easy imports, such as ``from moxel import Grid ``.
45
+ * :func: `moxel.utils.batch_clean_and_merge `
46
+
Original file line number Diff line number Diff line change 5
5
6
6
There are two available commands: ``[create, clean] ``
7
7
8
- .. code-block :: console
8
+ ``moxel ``
9
+ ---------
10
+ .. program-output :: moxel --help
9
11
10
- $ moxel <command> --help
12
+ ``moxel create ``
13
+ ----------------
14
+
15
+ .. program-output :: moxel create --help
16
+
17
+ ``moxel clean ``
18
+ ---------------
19
+
20
+ .. program-output :: moxel clean --help
Original file line number Diff line number Diff line change 28
28
'sphinxarg.ext' ,
29
29
'sphinx_code_tabs' ,
30
30
'sphinx_issues' ,
31
+ 'sphinxcontrib.programoutput' ,
31
32
]
32
33
33
34
templates_path = ['_templates' ]
Original file line number Diff line number Diff line change 3
3
|:books: | API Documentation
4
4
---------------------------
5
5
6
- moxel package
7
- =============
8
-
9
6
.. automodule :: moxel
10
7
:members:
11
8
:undoc-members:
12
9
:show-inheritance:
13
10
14
- Submodules
15
- ==========
16
-
17
- moxel.utils
18
- ===========
19
-
20
- .. automodule :: moxel.utils
21
- :members:
22
- :undoc-members:
23
- :show-inheritance:
24
-
25
- moxel.visualize
26
- ===============
11
+ .. toctree ::
12
+ :maxdepth: 2
13
+ :caption: Submodules:
27
14
28
- .. automodule :: moxel.visualize
29
- :members:
30
- :undoc-members:
31
- :show-inheritance:
15
+ utils
16
+ visualize
Original file line number Diff line number Diff line change
1
+ moxel.utils
2
+ ===========
3
+
4
+ .. automodule :: moxel.utils
5
+ :members:
6
+ :undoc-members:
7
+ :show-inheritance:
Original file line number Diff line number Diff line change
1
+ moxel.visualize
2
+ ===============
3
+
4
+ .. automodule :: moxel.visualize
5
+ :members:
6
+ :undoc-members:
7
+ :show-inheritance:
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ dependencies = [
39
39
[project .urls ]
40
40
Homepage = " https://github.com/adosar/moxel"
41
41
Documentation = " https://moxel.readthedocs.io"
42
- Changelog = " https://moxel.readthedocs.io/en/stable/changes .html"
42
+ Changelog = " https://moxel.readthedocs.io/en/stable/changelog .html"
43
43
44
44
[project .scripts ]
45
- moxel = " moxel.cli :moxel_fire"
45
+ moxel = " moxel._cli :moxel_fire"
Original file line number Diff line number Diff line change 14
14
# You should have received a copy of the GNU General Public License
15
15
# along with this program. If not, see <http://www.gnu.org/licenses/>.
16
16
17
+ r"""
18
+ This module provides helper functions for the CLI.
19
+ """
20
+
17
21
import fire
18
22
from . utils import voxels_from_dir , batch_clean
19
23
20
24
21
25
def moxel_fire ():
22
- fire .Fire ({
23
- 'clean' : batch_clean ,
24
- 'create' : voxels_from_dir ,
25
- })
26
+ r"""
27
+ Run the CLI.
28
+ """
29
+ fire .Fire ({
30
+ 'clean' : batch_clean ,
31
+ 'create' : voxels_from_dir ,
32
+ })
Original file line number Diff line number Diff line change 14
14
# You should have received a copy of the GNU General Public License
15
15
# along with this program. If not, see <http://www.gnu.org/licenses/>.
16
16
17
+ r"""
18
+ This module provides the Lennard-Jones parameters from UFF.
19
+ """
20
+
17
21
lj_params = {
18
22
"H" : [
19
23
22.11417 ,
You can’t perform that action at this time.
0 commit comments