Skip to content

Added compatibility for 2component LR results#1

Open
torinfs wants to merge 4 commits intoawild82:masterfrom
torinfs:2cLR
Open

Added compatibility for 2component LR results#1
torinfs wants to merge 4 commits intoawild82:masterfrom
torinfs:2cLR

Conversation

@torinfs
Copy link

@torinfs torinfs commented Jun 22, 2018

Tried to keep this as clean as possible. Let me know if you have different ideas for how this should be written.

@coveralls
Copy link

coveralls commented Jun 22, 2018

Pull Request Test Coverage Report for Build 31

  • 8 of 9 (88.89%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.2%) to 99.015%

Changes Missing Coverage Covered Lines Changed/Added Lines %
lrspectrum/parsers.py 3 4 75.0%
Totals Coverage Status
Change from base Build 29: -0.2%
Covered Lines: 402
Relevant Lines: 406

💛 - Coveralls

Copy link
Owner

@awild82 awild82 left a comment

Choose a reason for hiding this comment

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

Needs testing, but they should be quick additions

self.broad = None
self.wlim = None
self.res = None
self.is2c = is2c
Copy link
Owner

Choose a reason for hiding this comment

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

Needs testing (test___init__() in test_lrspectrum.py)

if not is2c:
results[lsp[4]] = float(lsp[8].lstrip('f='))
else:
results[lsp[3]] = float(lsp[7])
Copy link
Owner

Choose a reason for hiding this comment

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

Needs testing. (test__parse_gaussian() in test_parsers.py)
You will probably need to add another file to lrspectrum/test/data/ similar to example_methane.log

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