Christians analyse code

This commit is contained in:
Jonas Kellerer
2020-06-23 16:05:58 +02:00
parent 58fcc446db
commit d6f58d5ccd
29 changed files with 2135 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
#!/usr/bin/python
import sys
import os
import glob
import h5py
base_dir = os.path.dirname(os.path.realpath(__file__)) + '/..'
sys.path.append(base_dir + '/functions/IO')
# get import_dir
if (len(sys.argv) != 3):
print ('Error: Too many or too few number of arguments.')
sys.exit()
import_dir = sys.argv[1]
out_file = sys.argv[2]
# merge h5_files
import h5_merge
h5_merge.merge_h5s(import_dir, out_file)