Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bilby
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Sylvia Biscoveanu
bilby
Commits
6a36ec28
Commit
6a36ec28
authored
4 years ago
by
Matthew David Pitkin
Browse files
Options
Downloads
Patches
Plain Diff
bilby_result: allow output merged file to be gzip or saved as a HDF5 file
parent
2b12d397
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cli_bilby/bilby_result.py
+7
-1
7 additions, 1 deletion
cli_bilby/bilby_result.py
with
7 additions
and
1 deletion
cli_bilby/bilby_result.py
+
7
−
1
View file @
6a36ec28
...
...
@@ -41,6 +41,10 @@ def setup_command_line_args():
help
=
"
Convert all results.
"
,
default
=
False
)
parser
.
add_argument
(
"
-m
"
,
"
--merge
"
,
action
=
'
store_true
'
,
help
=
"
Merge the set of runs, output saved using the outdir and label
"
)
parser
.
add_argument
(
"
-e
"
,
"
--extension
"
,
type
=
str
,
choices
=
[
"
json
"
,
"
hdf5
"
],
default
=
True
,
help
=
"
Use given extension for the merged output file.
"
)
parser
.
add_argument
(
"
-g
"
,
"
--gzip
"
,
action
=
"
store_true
"
,
help
=
"
Gzip the merged output results file if using JSON format.
"
)
parser
.
add_argument
(
"
-o
"
,
"
--outdir
"
,
type
=
str
,
default
=
None
,
help
=
"
Output directory.
"
)
parser
.
add_argument
(
"
-l
"
,
"
--label
"
,
type
=
str
,
default
=
None
,
...
...
@@ -131,4 +135,6 @@ def main():
result
.
label
=
args
.
label
if
args
.
outdir
is
not
None
:
result
.
outdir
=
args
.
outdir
result
.
save_to_file
()
extension
=
args
.
extension
result
.
save_to_file
(
gzip
=
args
.
gzip
,
extension
=
extension
)
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