-
Notifications
You must be signed in to change notification settings - Fork 396
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
autotune export to microsoft excel #310
Conversation
initial version, requires xlsxwriter
@@ -75,7 +83,7 @@ esac | |||
done | |||
|
|||
if [[ -z "$DIR" || -z "$NIGHTSCOUT_HOST" ]]; then | |||
echo "Usage: oref0-autotune-test.sh <--dir=openaps_directory> <--ns-host=https://mynightscout.azurewebsites.net> [--start-date=YYYY-MM-DD] [--runs=number_of_runs] [--end-date=YYYY-MM-DD]" | |||
echo "Usage: oref0-autotune-test.sh <--dir=openaps_directory> <--ns-host=https://mynightscout.azurewebsites.net> [--start-date=YYYY-MM-DD] [--end-date=YYYY-MM-DD] [--runs=number_of_runs] [--xls=autotune.xlsx]" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we have people use the --xlsx form for consistency with the expected file extension?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's fixed now.
|
||
if ! [[ -z "$EXPORT_EXCEL" ]]; then | ||
echo Exporting to $EXPORT_EXCEL | ||
oref0_autotune_export_to_xls --dir $DIR/autotune --output $EXPORT_EXCEL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be named xlsx?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
@@ -32,6 +32,8 @@ | |||
"ns-upload": "./bin/ns-upload.sh", | |||
"ns-upload-entries": "./bin/ns-upload-entries.sh", | |||
"oref0": "./bin/oref0.sh", | |||
"oref0-autotune-test": "./bin/oref0-autotune-test.sh", | |||
"oref0_autotune_export_to_xls": "./bin/oref0_autotune_export_to_xls.py", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be xlsx ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
swap run and date column, do some formatting (font size, etc)
fixed all the review comments from @scottleibrand |
i think it's ready to be merged to dev |
@@ -32,6 +32,8 @@ | |||
"ns-upload": "./bin/ns-upload.sh", | |||
"ns-upload-entries": "./bin/ns-upload-entries.sh", | |||
"oref0": "./bin/oref0.sh", | |||
"oref0-autotune-test": "./bin/oref0-autotune-test.sh", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm renaming and adding this as oref0-ns-autotune in my autotune-install
branch. Want to just leave this off of yours, and I'll get it on mine, to avoid merge conflicts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nevermind, I fixed the conflict and merged.
initial version, requires xlsxwriter