From 1b06cfb60c7233d59471605ea7662eab4c18dced Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 7 Jun 2023 15:52:41 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- examples/Calculating Strain via Voxelization.ipynb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/Calculating Strain via Voxelization.ipynb b/examples/Calculating Strain via Voxelization.ipynb index e4e7b07..923e202 100644 --- a/examples/Calculating Strain via Voxelization.ipynb +++ b/examples/Calculating Strain via Voxelization.ipynb @@ -67,7 +67,9 @@ "\n", " match = re.match('^Lattice=\".*\"', header)\n", " boxstring = match.group(0)\n", - " boxes.append(np.array(str.split(boxstring[9:-1]), dtype=np.float32).reshape((3, 3)).T)\n", + " boxes.append(\n", + " np.array(str.split(boxstring[9:-1]), dtype=np.float32).reshape((3, 3)).T\n", + " )\n", " ff.close()\n", "\n", "# find the average box\n",