Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Michael Wedel
wfm_stitching
Commits
f570386c
Commit
f570386c
authored
May 15, 2019
by
Neil Vaytet
Browse files
catch import error
parent
54933377
Changes
1
Hide whitespace changes
Inline
Side-by-side
wfm_stitching/get_wfm_windows.py
View file @
f570386c
...
...
@@ -2,7 +2,11 @@ from __future__ import division, print_function
import
numpy
as
np
from
mantid.simpleapi
import
*
from
scipy.ndimage
import
gaussian_filter1d
from
scipy.signal
import
find_peaks
try
:
from
scipy.signal
import
find_peaks
except
ImportError
:
print
(
"Warning: scipy.signal.find_peaks could not be imported. "
"Some functionality will be missing"
)
################################################################################
################################################################################
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment