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
Package Registry
Container Registry
Model registry
Operate
Terraform modules
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
Léo HENCHES
jass
Commits
54a5ba3b
Commit
54a5ba3b
authored
2 months ago
by
Hanna JULIENNE
Browse files
Options
Downloads
Patches
Plain Diff
- Correct naming of custom loadings in create_wk
- correct strategy selection order - removed the strategy option
parent
ff102709
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
jass/__main__.py
+6
-7
6 additions, 7 deletions
jass/__main__.py
with
6 additions
and
7 deletions
jass/__main__.py
+
6
−
7
View file @
54a5ba3b
...
...
@@ -143,16 +143,17 @@ def compute_worktable(args):
pos_Start
=
args
.
start_position
pos_End
=
args
.
end_position
if
args
.
omnibus
:
strategy
=
"
jass.models.stats:omnibus_stat
"
elif
args
.
sumz
:
if
args
.
sumz
:
strategy
=
"
jass.models.stats:sumz_stat
"
elif
args
.
fisher_test
:
strategy
=
"
jass.models.stats:fisher_test
"
elif
args
.
meta_analysis
:
strategy
=
"
jass.models.stats:meta_analysis
"
else
:
strategy
=
args
.
strategy
strategy
=
"
jass.models.stats:omnibus_stat
"
#elif args.strategy is not None:
# strategy = args.strategy
create_worktable_file
(
phenotype_ids
=
selected_phenotypes
,
...
...
@@ -169,7 +170,7 @@ def compute_worktable(args):
chromosome
=
chromosome
,
pos_Start
=
pos_Start
,
pos_End
=
pos_End
,
custom_
loadings
=
custom_loadings
,
loadings
=
custom_loadings
,
)
...
...
@@ -400,7 +401,6 @@ def get_parser():
strategies
.
add_argument
(
"
--sumz
"
,
action
=
"
store_true
"
,
default
=
False
)
strategies
.
add_argument
(
"
--fisher_test
"
,
action
=
"
store_true
"
,
default
=
False
)
strategies
.
add_argument
(
"
--meta_analysis
"
,
action
=
"
store_true
"
,
default
=
False
)
strategies
.
add_argument
(
"
--strategy
"
)
parser_create_pd
.
set_defaults
(
func
=
w_create_project_data
)
...
...
@@ -533,7 +533,6 @@ def get_parser():
strategies
.
add_argument
(
"
--sumz
"
,
action
=
"
store_true
"
,
default
=
False
)
strategies
.
add_argument
(
"
--fisher_test
"
,
action
=
"
store_true
"
,
default
=
False
)
strategies
.
add_argument
(
"
--meta_analysis
"
,
action
=
"
store_true
"
,
default
=
False
)
strategies
.
add_argument
(
"
--strategy
"
)
parser_create_wt
.
set_defaults
(
func
=
w_create_worktable
)
...
...
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