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

Many fixes #1

Merged
merged 3 commits into from
Jul 26, 2014
Merged

Many fixes #1

merged 3 commits into from
Jul 26, 2014

Conversation

lordnathan0
Copy link

  • added __init__.py
  • created pyc files

These additions make it easier to import when it is in a different folder from the main script

@lordnathan0 lordnathan0 mentioned this pull request Jul 24, 2014
@lordnathan0 lordnathan0 changed the title Makes it easier to import May fixes Jul 26, 2014
@lordnathan0 lordnathan0 changed the title May fixes Many fixes Jul 26, 2014
@lordnathan0
Copy link
Author

Added more stuff:

  • Close function that flushes and closes the JSON file
  • Fixed issue that made the dictionary only hold the last value input

closes #2

if not runRPM in runInfoDict:
runInfoDict[runRPM] = dict()

runInfoDict[runRPM][runTorque] = newRun.copy()
Copy link
Author

Choose a reason for hiding this comment

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

YOU HAVE TO COPY!

Didn't seek to the beginning
aaronbeekay added a commit that referenced this pull request Jul 26, 2014
Fixes issue where all data was never saved (new data was not copied, only referenced). Adds flush function.
@aaronbeekay aaronbeekay merged commit 555b10c into aaronbeekay:master Jul 26, 2014
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.

None yet

2 participants