You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the following code, sey_file_real doesn't seem to be used:
if type(sey_file) is dict:
sey_properties = sey_file
else:
# Search for file with given name, either as an absolute path or in the dedicated folder
# Absolute path has precedence.
candidate_files = [
os.path.expanduser(sey_file),
os.path.abspath(os.path.dirname(__file__)) + '/sey_files/' + sey_file,
]
existing_files = filter(os.path.isfile, candidate_files)
if not existing_files:
raise ValueError('SEY file %s is not found' % sey_file)
sey_file_real = existing_files[0]
print('Secondary emission from file %s' % sey_file_real)
sey_properties = sio.loadmat(sey_file)
The text was updated successfully, but these errors were encountered:
In the following code,
sey_file_real
doesn't seem to be used:The text was updated successfully, but these errors were encountered: