Skip to content
Snippets Groups Projects
Commit 92fd3dbf authored by Bryan BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

Pertinent default name and desc

parent 139fd70a
Branches
Tags
No related merge requests found
......@@ -28,8 +28,8 @@ class InitMeta(object):
def get_inittable_meta(file_name):
init_store = HDFStore(file_name, mode='r')
nb_snps = init_store.get_storer("SumStatTab").nrows
name="Missing name"
desc="Missing description"
name=f"Name of {file_name.split('/')[-1]}"
desc=f"Description {file_name.split('/')[-1]}"
init_store.close()
nb_phenotypes = read_hdf(file_name, "PhenoList").shape[0]
return dict(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment