Skip to content

Commit eacf098

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

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

util/installation_check.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@
5151
print("All required packages installed")
5252
else:
5353
print(
54-
"Please install these missing packages "
55-
"to be able to run the Imaging Notebooks."
54+
"Please install these missing packages to be able to run the Imaging Notebooks."
5655
)
5756
missing = [k for k, v in import_result.items() if not v]
5857
print("\t" + "\n\t".join(missing))

white_beam.ipynb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,15 +227,18 @@
227227
"# this is using the hsnt kernel conda environment\n",
228228
"\n",
229229
"import warnings\n",
230-
"warnings.filterwarnings('ignore')\n",
230+
"\n",
231+
"warnings.filterwarnings(\"ignore\")\n",
231232
"\n",
232233
"%matplotlib inline\n",
233234
"\n",
234235
"from __code.white_beam import WhiteBeam\n",
235236
"\n",
236237
"from __code import system\n",
238+
"\n",
237239
"system.System.select_working_dir()\n",
238240
"from __code.__all import custom_style\n",
241+
"\n",
239242
"custom_style.style()"
240243
]
241244
},

0 commit comments

Comments
 (0)