Skip to content

Fix uppercasing of input - #95

Merged
arnfinn merged 4 commits into
PCMSolver:release/1.Yfrom
robertodr:fix-uppercasing
Aug 25, 2017
Merged

arnfinn merged 4 commits into
PCMSolver:release/1.Yfrom
robertodr:fix-uppercasing

Conversation

@robertodr

Copy link
Copy Markdown
Member

The input file is uppercased, to ensure a consistent case is used throughout. However, the original input file as provided by the user, was being overwritten by its uppercased counterpart. This annoying bug was noted by @ilfreddy. The current commit fixes #91 by writing the uppercased text to a temporary file. The temporary file is removed as soon as the parsing has been done.

Todos

  • Developer Interest
    • Original input file is not touched anymore.
    • Fix formatting and style issues in pcmsolver.py.
    • Add .style.yapf file for Python formatting with yapf

Types of changes

Status

  • Ready to go

The input file is uppercased, to ensure a consistent case is
used throughout. However, the original input file as provided by the
user, was being overwritten by its uppercased counterpart.
This annoying bug was noted by @ilfreddy.
The current commit fixes PCMSolver#91 by writing the uppercased text to
a temporary file. The temporary file is removed as soon as the parsing
has been done.
@MinazoBot

MinazoBot commented Aug 25, 2017 •

Copy link
Copy Markdown
2 Warnings
⚠️ There are code changes, but no corresponding tests. Please include tests if this PR introduces any modifications in behavior.
⚠️ Consider adding supporting documentation to this change. Documentation sources can be found in the doc directory.

Generated by 🚫 Danger

@arnfinn
arnfinn merged commit 38d964c into PCMSolver:release/1.Y Aug 25, 2017
@robertodr
robertodr deleted the fix-uppercasing branch August 26, 2017 08:16
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.

3 participants