From d045488588deef799e13d6210daff004fe329f5d Mon Sep 17 00:00:00 2001 From: Janosh Riebesell Date: Fri, 26 Aug 2022 15:04:58 -0700 Subject: [PATCH] Fix typo in quickstart pip install command (#24) * fix typo in quickstart pip install command * add nbstripout --drop-empty-cells flag * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- tutorials/1-quickstart.ipynb | 9 +-------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 914dbfcc..26ac43f4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -78,4 +78,4 @@ repos: rev: 0.6.0 hooks: - id: nbstripout - args: ["--keep-output"] + args: [--keep-output, --drop-empty-cells] diff --git a/tutorials/1-quickstart.ipynb b/tutorials/1-quickstart.ipynb index c45cf913..a39f989e 100644 --- a/tutorials/1-quickstart.ipynb +++ b/tutorials/1-quickstart.ipynb @@ -10,7 +10,7 @@ "\n", "## Installation\n", "\n", - "The package can be installed from PyPI using `pip install pymatgen-analysis-defect`. \n", + "The package can be installed from PyPI using `pip install pymatgen-analysis-defects`. \n", "\n", "Once installed, the different modules can be imported via the `pymatgen.analysis.defects` namespace.\n", "\n", @@ -256,13 +256,6 @@ "plt.xlabel(\"Fermi Level (eV)\")\n", "plt.ylabel(\"Formation Energy(eV)\")" ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] } ], "metadata": {