Commit 449a0c58 authored by Bryan  BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

write permission is not needed

parent d67b3286
......@@ -26,7 +26,7 @@ class InitMeta(object):
self.nb_phenotypes = nb_phenotypes
def get_inittable_meta(file_name):
init_store = HDFStore(file_name)
init_store = HDFStore(file_name, mode='r')
nb_snps = init_store.get_storer("SumStatTab").nrows
init_store.close()
nb_phenotypes = read_hdf(file_name, "PhenoList").shape[0]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment