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

Modified ISISGrammar to deal with #-comments and pvl_validate update #74

Merged
merged 6 commits into from
Dec 13, 2020

Conversation

rbeyer
Copy link
Member

@rbeyer rbeyer commented Dec 5, 2020

Description

  • Modified pvl_validate to more robustly deal with errors, and also provide more error-reporting via -v and -vv.
  • Modified ISISGrammar so that it can parse comments that begin with an octothorpe (#).
  • Altered documentation in grammar.py that was incorrectly indicating that there were parameters that could be passed on object initiation that would alter how those objects behaved.

Related Issue

Would close #73

How Has This Been Tested?

  • make lint
  • make docs
  • make test-all

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Licensing:

This project is released under the LICENSE.

  • I claim copyrights on my contributions in this pull request, and I provide those contributions via this pull request under the same license terms that the pvl project uses.

…ar doesn't parse octothorpe (#) comments.

Also ensured that OmniParser is tested against all files that
ISISGrammar is tested against.
…l reporting information via -v and -vv arguments.
…rs could be passed to grammar objects on instantiation.
@rbeyer rbeyer merged commit b4662b3 into planetarypy:main Dec 13, 2020
@rbeyer rbeyer deleted the grammar-73 branch December 13, 2020 17:15
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.

pvl.grammar objects have incorrect documentation, and ISISGrammar needs to handle #-comments
1 participant