Skip to content
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

Merged
merged 5 commits into from
Jan 3, 2017

Conversation

PieterGit
Copy link
Contributor

initial version, requires xlsxwriter

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]"
Copy link
Contributor

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Copy link
Contributor Author

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
Copy link
Contributor

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?

Copy link
Contributor Author

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",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be xlsx ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@PieterGit
Copy link
Contributor Author

fixed all the review comments from @scottleibrand
tested on one day.
can be merged to dev at appropriate time

@PieterGit
Copy link
Contributor Author

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",
Copy link
Contributor

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?

Copy link
Contributor

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.

@scottleibrand scottleibrand merged commit 72b7371 into openaps:autotune Jan 3, 2017
@PieterGit PieterGit deleted the autotune_excel branch January 3, 2017 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants