Skip to content

Commit 7fe05bc

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 6cff051 commit 7fe05bc

1 file changed

Lines changed: 4 additions & 10 deletions

File tree

notebooks/2017-04-03-Slab generation and Wulff shape.ipynb

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,8 @@
124124
")\n",
125125
"\n",
126126
"slabgen = SlabGenerator(Si, (1, 1, 1), 10, 10)\n",
127-
"print(\n",
128-
" \"Notice now there are actually now %s terminations that can be \\\n",
129-
"generated in the (111) direction for diamond Si\"\n",
130-
" % (len(slabgen.get_slabs()))\n",
131-
")\n",
127+
"print(\"Notice now there are actually now %s terminations that can be \\\n",
128+
"generated in the (111) direction for diamond Si\" % (len(slabgen.get_slabs())))\n",
132129
"\n",
133130
"# The simplest way to do this is to just use generate_all_slabs which finds all the unique\n",
134131
"# Miller indices for a structure and uses SlabGenerator to create all terminations for all of them.\n",
@@ -400,11 +397,8 @@
400397
}
401398
],
402399
"source": [
403-
"print(\n",
404-
" \"There is a total of %s slabs generated including polar, asymmetric, and \\\n",
405-
"P-O terminated slabs\"\n",
406-
" % (len(all_slabs))\n",
407-
")\n",
400+
"print(\"There is a total of %s slabs generated including polar, asymmetric, and \\\n",
401+
"P-O terminated slabs\" % (len(all_slabs)))\n",
408402
"\n",
409403
"# store any slabs for calculation that satisfies our criterias\n",
410404
"valid_slabs = []\n",

0 commit comments

Comments
 (0)