kheaactua/compareGemSettings — pull request #2 by lime-green (2014-12-01 14:11:51+00:00)
Title: Limegreen refactor

Hey there! I'll quickly go over the changes I made.

* Added gitignore
* Added _readNamelist to make clean
* Fixed script to work with no arguments
* Added array check so leading spaces can be deleted
* Added sample gem file for testing (can use to see the difference between array output before/after above fix)
* Refactored python script to use main (can now import as a module if ever needed)
* Refactored python script to have a parser class (to facilitate testing, easier maintenance, etc.)
* Changed variable names and whitespace to be more inline with PEP 8 python style guide

Hopefully you agree with my changes! The style changes (such as `my_var = "text"` instead of `myVar="test"` were made because my editor is overzealous in its warnings, so I just needed to shut it up :)

Let me know if you're not happy with any/some of my changes.