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$
|
# $Id$
|
||||||
|
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
import sys
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import h5py
|
import h5py
|
||||||
except:
|
except:
|
||||||
print('Could not import h5py.')
|
sys.stderr.write('Could not import h5py.\n')
|
||||||
|
|
||||||
class Result():
|
class Result():
|
||||||
'''
|
'''
|
||||||
|
|
Loading…
Reference in New Issue