Skip to content

Commit

Permalink
Run the update method
Browse files Browse the repository at this point in the history
  • Loading branch information
liamhuber committed Dec 21, 2022
1 parent 8d341d3 commit 0bc27db
Show file tree
Hide file tree
Showing 15 changed files with 94 additions and 155 deletions.
8 changes: 4 additions & 4 deletions .binder/postBuild
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# pip install master
pip install --no-deps .
# Note: This produces build and pyiron_module_template.egg-info directories
# Note: This produces build and pyiron_ontology.egg-info directories

# clean up
if [ -d "notebooks" ]; then
mv notebooks/* .
fi
if [ -d "${HOME}/pyiron_module_template" ]; then
if [ -d "${HOME}/pyiron_ontology" ]; then
rm -r ${HOME}/.binder \
${HOME}/.ci_support \
${HOME}/.github \
${HOME}/build \
${HOME}/docs \
${HOME}/notebooks \
${HOME}/pyiron_module_template \
${HOME}/pyiron_module_template.egg-info \
${HOME}/pyiron_ontology \
${HOME}/pyiron_ontology.egg-info \
${HOME}/tests \
${HOME}/.gitattributes \
${HOME}/.gitignore \
Expand Down
4 changes: 2 additions & 2 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# .coveragerc to control coverage.py
[run]
source = pyiron_module_template
omit = pyiron_module_template/_version.py
source = pyiron_ontology
omit = pyiron_ontology/_version.py
concurrency = multiprocessing
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pyiron_module_template/_version.py export-subst
pyiron_ontology/_version.py export-subst
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: Bug report
about: Create a bug report to help us eliminate issues and improve pyiron_module_template
about: Create a bug report to help us eliminate issues and improve pyiron_ontology
title: ''
labels: bug
assignees: ''
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: Feature request
about: Make a suggestion for a new feature or a change to pyiron_module_template
about: Make a suggestion for a new feature or a change to pyiron_ontology
title: ''
labels: enhancement
assignees: ''
Expand All @@ -13,7 +13,7 @@ assignees: ''

**Detailed Description**

<!--Please explain how you would like to see pyiron_module_template enhanced, what feature(s) you are looking for, what specific problems this will solve.-->
<!--Please explain how you would like to see pyiron_ontology enhanced, what feature(s) you are looking for, what specific problems this will solve.-->

**Further Information, Files, and Links**

Expand Down
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
include versioneer.py
include pyiron_module_template/_version.py
include pyiron_ontology/_version.py
include LICENSE
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,10 +275,10 @@
# dir menu entry, description, category)
texinfo_documents = [
('index',
'pyiron_module_template',
'pyiron_ontology',
u'pyiron Documentation',
u'Max-Planck-Institut für Eisenforschung GmbH - Computational Materials Design (CM) Department',
'pyiron_module_template',
'pyiron_ontology',
'One line description of project.',
'Miscellaneous'),
]
Expand All @@ -295,7 +295,7 @@
# If true, do not generate a @detailmenu in the "Top" node's menu.
# texinfo_no_detailmenu = False

main(['-e', '-o', 'apidoc', '../pyiron_module_template', '--force'])
main(['-e', '-o', 'apidoc', '../pyiron_ontology', '--force'])

curdir = os.path.dirname(os.path.abspath(__file__))
if os.path.exists(os.path.join(curdir, 'source/notebooks')):
Expand Down
8 changes: 4 additions & 4 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
.. pyiron_module_template documentation master file
.. pyiron_ontology documentation master file
.. _index:


======================
pyiron_module_template
======================
===============
pyiron_ontology
===============

.. toctree::
:hidden:
Expand Down
4 changes: 2 additions & 2 deletions notebooks/version.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"metadata": {},
"outputs": [],
"source": [
"import pyiron_module_template\n",
"print(pyiron_module_template.__version__)"
"import pyiron_ontology\n",
"print(pyiron_ontology.__version__)"
]
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@

__version__ = get_versions()["version"]
del get_versions

from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
Loading

0 comments on commit 0bc27db

Please sign in to comment.