Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jass
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Statistical-Genetics
jass
Commits
9dc76727
Commit
9dc76727
authored
4 years ago
by
Hanna JULIENNE
Browse files
Options
Downloads
Patches
Plain Diff
change the --keep-nans argument to --remove-nans to change defaults behaviour
parent
f67a0800
Branches
Branches containing commit
No related tags found
2 merge requests
!33
change default handling of missing value : the server and the command line...
,
!28
Update requirement, change default behaviour
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
jass/__main__.py
+3
-3
3 additions, 3 deletions
jass/__main__.py
with
3 additions
and
3 deletions
jass/__main__.py
+
3
−
3
View file @
9dc76727
...
@@ -79,7 +79,7 @@ def compute_worktable(args):
...
@@ -79,7 +79,7 @@ def compute_worktable(args):
init_table_path
=
absolute_path_of_the_file
(
args
.
init_table_path
)
init_table_path
=
absolute_path_of_the_file
(
args
.
init_table_path
)
worktable_path
=
absolute_path_of_the_file
(
args
.
worktable_path
,
True
)
worktable_path
=
absolute_path_of_the_file
(
args
.
worktable_path
,
True
)
selected_phenotypes
=
args
.
phenotypes
selected_phenotypes
=
args
.
phenotypes
remove_nan
=
not
(
args
.
keep
_nans
)
remove_nan
=
(
args
.
remove
_nans
)
significance_treshold
=
float
(
args
.
significance_treshold
)
significance_treshold
=
float
(
args
.
significance_treshold
)
post_filtering
=
bool
(
args
.
post_filtering
)
post_filtering
=
bool
(
args
.
post_filtering
)
custom_loadings
=
args
.
custom_loadings
custom_loadings
=
args
.
custom_loadings
...
@@ -197,7 +197,7 @@ def get_parser():
...
@@ -197,7 +197,7 @@ def get_parser():
parser_create_pd
.
add_argument
(
parser_create_pd
.
add_argument
(
"
--worktable-path
"
,
required
=
True
,
help
=
"
path to the worktable file to generate
"
"
--worktable-path
"
,
required
=
True
,
help
=
"
path to the worktable file to generate
"
)
)
parser_create_pd
.
add_argument
(
"
--
keep
-nans
"
,
action
=
"
store_true
"
,
default
=
Tru
e
)
parser_create_pd
.
add_argument
(
"
--
remove
-nans
"
,
action
=
"
store_true
"
,
default
=
Fals
e
)
parser_create_pd
.
add_argument
(
parser_create_pd
.
add_argument
(
"
--manhattan-plot-path
"
,
"
--manhattan-plot-path
"
,
required
=
True
,
required
=
True
,
...
@@ -344,7 +344,7 @@ def get_parser():
...
@@ -344,7 +344,7 @@ def get_parser():
help
=
"
Number of region to load in memory at once
"
,
help
=
"
Number of region to load in memory at once
"
,
)
)
parser_create_wt
.
add_argument
(
"
--
keep
-nans
"
,
action
=
"
store_true
"
,
default
=
Tru
e
)
parser_create_wt
.
add_argument
(
"
--
remove
-nans
"
,
action
=
"
store_true
"
,
default
=
Fals
e
)
parser_create_wt
.
add_argument
(
parser_create_wt
.
add_argument
(
"
--chromosome-number
"
,
"
--chromosome-number
"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment