Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
Intro2MM-Homework1
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tianqi Yang
Intro2MM-Homework1
Commits
27088796
Commit
27088796
authored
Oct 10, 2019
by
Tianqi Yang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(handle_data): change the default precision of mean from 3 to 5
parent
b329535a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
handle_data.py
handle_data.py
+1
-1
No files found.
handle_data.py
View file @
27088796
...
...
@@ -10,7 +10,7 @@ import sys
def
main
():
parser
=
argparse
.
ArgumentParser
(
prog
=
'handle_data.py'
,
description
=
'Validate and handle the data generated by the simulator'
)
parser
.
add_argument
(
'-m'
,
'--precision-mean'
,
dest
=
'precision_mean'
,
metavar
=
'precision_mean'
,
type
=
int
,
help
=
'Precision of the mean'
,
default
=
3
)
parser
.
add_argument
(
'-m'
,
'--precision-mean'
,
dest
=
'precision_mean'
,
metavar
=
'precision_mean'
,
type
=
int
,
help
=
'Precision of the mean'
,
default
=
5
)
parser
.
add_argument
(
'-v'
,
'--precision-var'
,
dest
=
'precision_var'
,
metavar
=
'precision_variance'
,
type
=
int
,
help
=
'Precision of the variance'
,
default
=-
1
)
parser
.
add_argument
(
'-i'
,
'--input'
,
dest
=
'input'
,
metavar
=
'input'
,
type
=
str
,
help
=
'Input data file (default: simulation.res)'
,
default
=
'simulation.res'
)
parser
.
add_argument
(
'-o'
,
'--output'
,
dest
=
'output'
,
metavar
=
'output'
,
type
=
str
,
help
=
'Output data file (default: result.csv)'
,
default
=
'result.csv'
)
...
...
Write
Preview
Markdown
is supported
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