changed STDOUT to STDERR for complaining about missing h5py. Please report any warnings or errors to STDERR since otherwise command piping breaks...
This commit is contained in:
parent
eeca9ed349
commit
521a9d2d81
|
@ -1,11 +1,12 @@
|
|||
# $Id$
|
||||
|
||||
import numpy as np
|
||||
import sys
|
||||
|
||||
try:
|
||||
import h5py
|
||||
except:
|
||||
print('Could not import h5py.')
|
||||
sys.stderr.write('Could not import h5py.\n')
|
||||
|
||||
class Result():
|
||||
'''
|
||||
|
|
Loading…
Reference in New Issue