-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: rename data package to calculation (#139)
* Rename the data package to calculation * Implement calculation package that acts like a Calculation object in the current directory * Move Calculation class and all Refinery classes into calculation package * Rename data to calculation in tests * Prepare for Viewer refactoring by moving Viewer3d to third_party * Update documentation configuration for next release * Create automatic summary of documentation * Elaborate on the documentation of each Refinery class * Introduce custom Sphinx role for INCAR tags * Improve error message on incorrect import
- Loading branch information
1 parent
b283854
commit b9471c6
Showing
96 changed files
with
1,131 additions
and
841 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
api | ||
api | ||
_packages | ||
_classes |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{{ name | escape | underline }} | ||
|
||
.. autoclass:: {{ fullname }} | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{{ name | escape | underline }} | ||
|
||
.. container:: quantity | ||
|
||
.. currentmodule:: py4vasp.calculation | ||
.. data:: {{ name }} | ||
|
||
.. currentmodule:: py4vasp.calculation._{{name}} | ||
.. autoclass:: {% | ||
if name == "CONTCAR" -%} | ||
CONTCAR | ||
{%- else -%} | ||
{%- for part in name.split("_") -%} | ||
{{ part.capitalize() }} | ||
{%- endfor -%} | ||
{%- endif %} | ||
:members: | ||
:inherited-members: | ||
:exclude-members: from_data, from_file, from_path, path |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{{ name | escape | underline }} | ||
|
||
.. automodule:: {{ fullname }} | ||
|
||
.. autosummary:: | ||
|
||
{% for function in functions %} | ||
{{ function }} | ||
{% endfor %} | ||
|
||
{% for function in functions %} | ||
.. autofunction:: {{ function }} | ||
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{{ name | escape | underline }} | ||
|
||
.. automodule:: {{ fullname }} | ||
|
||
.. rubric:: Attributes | ||
|
||
.. autosummary:: | ||
:toctree: | ||
:template: member.rst | ||
|
||
{% for member in members %} | ||
{{ member }} | ||
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
latest: | ||
- dirhtml | ||
- Calculation: | ||
- dirhtml/Calculation | ||
- calculation: | ||
- dirhtml/_packages/py4vasp.calculation | ||
- dirhtml/_classes/py4vasp.Calculation | ||
- dirhtml/_packages/py4vasp.calculation.* | ||
- raw: | ||
- dirhtml/raw | ||
- dirhtml/api/py4vasp.raw.* | ||
- data: | ||
- dirhtml/data | ||
- dirhtml/api/py4vasp.data.* | ||
- exception: | ||
- dirhtml/exception | ||
- dirhtml/api/py4vasp.exception.* |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# Copyright © VASP Software GmbH, | ||
# Licensed under the Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0) | ||
from py4vasp._analysis.mlff import MLFFErrorAnalysis | ||
from py4vasp._calculation import Calculation | ||
from py4vasp._calculations import Calculations | ||
from py4vasp._third_party.graph import plot | ||
from py4vasp._third_party.interactive import set_error_handling | ||
from py4vasp.calculation._class import Calculation | ||
|
||
__version__ = "0.8.0" | ||
set_error_handling("Minimal") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.