Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 7, 2023
1 parent 91668f4 commit 1b06cfb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/Calculating Strain via Voxelization.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 1b06cfb

Please sign in to comment.