Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Statistical-Genetics
jass
Commits
449a0c58
Commit
449a0c58
authored
Apr 07, 2022
by
Bryan BRANCOTTE
Browse files
write permission is not needed
parent
d67b3286
Changes
1
Hide whitespace changes
Inline
Side-by-side
jass/models/inittable.py
View file @
449a0c58
...
...
@@ -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
]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment