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

Report unmeasured metrics #19

Merged
merged 1 commit into from Nov 17, 2017
Merged

Report unmeasured metrics #19

merged 1 commit into from Nov 17, 2017

Conversation

SimonKrughoff
Copy link
Contributor

@SimonKrughoff SimonKrughoff commented Nov 13, 2017

DM-12253: this makes the reporting method print a symbol for unmeasured metrics as well as passing and failing metrics.


  • Passes Jenkins CI.
  • Documentation is up-to-date.

@@ -87,7 +88,11 @@ def make_table(self):

spec = self._spec_set[spec_name]

if spec.check(meas.quantity):
if np.isnan(meas.quantity):
Copy link
Member

Choose a reason for hiding this comment

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

I'm not 100% sure numpy.isnan is what we want here.

What sets a measurement's quantity attribute to np.nan? I know the default value is None in Measurement.

Copy link
Member

Choose a reason for hiding this comment

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

After talking it through this seems right. 👍

@SimonKrughoff SimonKrughoff merged commit ef36a5d into master Nov 17, 2017
@ktlim ktlim deleted the tickets/DM-12253 branch August 25, 2018 05:57
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.

None yet

2 participants