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

[ENH] OWDiscretize: data info displayed in status bar #4331

Merged
merged 1 commit into from
Jan 17, 2020

Conversation

aturanjanin
Copy link
Contributor

Description of changes

Display input and output data info in the status bar.

Includes
  • Code changes
  • Tests
  • Documentation

@aturanjanin aturanjanin changed the title OWDiscretize: data info displayed in status bar [ENH] OWDiscretize: data info displayed in status bar Jan 14, 2020
@codecov
Copy link

codecov bot commented Jan 14, 2020

Codecov Report

Merging #4331 into master will increase coverage by 0.22%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master   #4331      +/-   ##
=========================================
+ Coverage   86.68%   86.9%   +0.22%     
=========================================
  Files         396     396              
  Lines       71510   71851     +341     
=========================================
+ Hits        61988   62442     +454     
+ Misses       9522    9409     -113

@@ -245,6 +245,9 @@ def _intbox(parent, attr, callback):

self._update_spin_positions()

self.info.set_output_summary(self.info.NoInput)
Copy link
Contributor

Choose a reason for hiding this comment

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

When setting output summary, output default message (self.info.NoOutput) should be used.

@@ -478,6 +483,9 @@ def commit(self):
if self.data is not None and len(self.data):
domain = self.discretized_domain()
output = self.data.transform(domain)
self.info.set_output_summary(len(output))
else:
self.info.set_output_summary(self.info.NoInput)
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as above.

@VesnaT VesnaT merged commit 2bcef21 into biolab:master Jan 17, 2020
@aturanjanin aturanjanin deleted the owdiscretize branch February 28, 2020 14: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