Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PyFstat
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
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
Gregory Ashton
PyFstat
Commits
9de7652f
Commit
9de7652f
authored
7 years ago
by
Gregory Ashton
Browse files
Options
Downloads
Patches
Plain Diff
Clean up of command line utils
Closes
#7
parent
4870f7b0
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
pyfstat/helper_functions.py
+10
-8
10 additions, 8 deletions
pyfstat/helper_functions.py
pyfstat/mcmc_based_searches.py
+0
-4
0 additions, 4 deletions
pyfstat/mcmc_based_searches.py
with
10 additions
and
12 deletions
pyfstat/helper_functions.py
+
10
−
8
View file @
9de7652f
...
...
@@ -38,16 +38,18 @@ def set_up_command_line_arguments():
parser
.
add_argument
(
"
-v
"
,
"
--verbose
"
,
action
=
"
store_true
"
,
help
=
"
Increase output verbosity [logging.DEBUG]
"
)
parser
.
add_argument
(
"
-q
"
,
"
--quite
"
,
action
=
"
store_true
"
,
help
=
"
Decrease output verbosity [logging.WARNGING]
"
)
parser
.
add_argument
(
"
-vq
"
,
"
--very_quite
"
,
action
=
"
store_true
"
,
help
=
"
Increase output verbosity [logging.ERROR]
"
)
help
=
"
Decrease output verbosity [logging.WARNING]
"
)
parser
.
add_argument
(
"
--no-interactive
"
,
help
=
"
Don
'
t use interactive
"
,
action
=
"
store_true
"
)
parser
.
add_argument
(
"
-c
"
,
"
--clean
"
,
help
=
"
Don
'
t use cached data
"
,
action
=
"
store_true
"
)
parser
.
add_argument
(
"
-u
"
,
"
--use-old-data
"
,
action
=
"
store_true
"
)
parser
.
add_argument
(
'
-s
'
,
"
--setup-only
"
,
action
=
"
store_true
"
)
parser
.
add_argument
(
"
--no-template-counting
"
,
action
=
"
store_true
"
)
parser
.
add_argument
(
"
-c
"
,
"
--clean
"
,
action
=
"
store_true
"
,
help
=
"
Force clean data, never use cached data
"
)
fu_parser
=
parser
.
add_argument_group
(
'
follow-up options
'
,
'
Options related to MCMCFollowUpSearch
'
)
fu_parser
.
add_argument
(
'
-s
'
,
"
--setup-only
"
,
action
=
"
store_true
"
,
help
=
"
Only generate the setup file, don
'
t run
"
)
fu_parser
.
add_argument
(
"
--no-template-counting
"
,
action
=
"
store_true
"
,
help
=
"
No counting of templates, useful if the setup is predefined
"
)
parser
.
add_argument
(
'
-N
'
,
type
=
int
,
default
=
3
,
metavar
=
'
N
'
,
help
=
"
Number of threads to use when running in parallel
"
)
...
...
This diff is collapsed.
Click to expand it.
pyfstat/mcmc_based_searches.py
+
0
−
4
View file @
9de7652f
...
...
@@ -1224,10 +1224,6 @@ class MCMCSearch(core.BaseSearchClass):
return
d
def
_check_old_data_is_okay_to_use
(
self
):
if
args
.
use_old_data
:
logging
.
info
(
"
Forcing use of old data
"
)
return
True
if
os
.
path
.
isfile
(
self
.
pickle_path
)
is
False
:
logging
.
info
(
'
No pickled data found
'
)
return
False
...
...
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