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

Fix formatting in measurement type error message #341

Merged
merged 3 commits into from
Oct 3, 2019

Conversation

angusjlowe
Copy link
Contributor

Context: Returning an Observable without specifying a Measurement currently raises an error with a message that has not been properly formatted.

Description of the Change: Fix formatting on the error message to include the name of the Observable being referred to instead of parentheses {}.

Benefits: Fixes error message formatting.

Possible Drawbacks: n/a

Related GitHub Issues: n/a

@codecov
Copy link

codecov bot commented Oct 3, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@597a631). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #341   +/-   ##
=========================================
  Coverage          ?   99.69%           
=========================================
  Files             ?       30           
  Lines             ?     2304           
  Branches          ?        0           
=========================================
  Hits              ?     2297           
  Misses            ?        7           
  Partials          ?        0
Impacted Files Coverage Δ
pennylane/qnode.py 100% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 597a631...ac6871a. Read the comment docs.

@josh146 josh146 merged commit ad7ee0a into master Oct 3, 2019
@josh146 josh146 deleted the fix-typo-qnode-error branch October 3, 2019 18:02
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.

2 participants