Skip to content

Commit 172aaec

Browse files
committed
clarify h5py as a dependency
1 parent 89e0a6e commit 172aaec

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

data/expected/fb/convert2hdf5

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,13 @@ Examples:
88
%(prog)s [options] -i input -o output
99
"""
1010

11-
import sys, csv, h5py, argparse
11+
import sys, csv, argparse
12+
13+
try:
14+
import h5py
15+
except:
16+
print("Please install h5py!")
17+
sys.exit(1)
1218

1319
parser = argparse.ArgumentParser(description=__doc__)
1420
parser.add_argument("-i", dest="INPUT_FILE", default="", help="input file")

0 commit comments

Comments
 (0)