Skip to content

Conversation

@shumpohl
Copy link
Member

Fixes #433 which occures if a reload is triggered (ipython and spyder do this sometimes).

I implemented a custom has_type_interface. Something tells me that there has to be a better more standard way.

return _render_loop(program, sample_rate=sample_rate,
render_measurements=render_measurements, time_slice=time_slice)
else:
raise ValueError('Cannot render an object of type %s', type(program))
Copy link
Member Author

Choose a reason for hiding this comment

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

This is bad. There should be a %

@shumpohl shumpohl requested a review from thangleiter March 11, 2019 15:57
@shumpohl
Copy link
Member Author

Apparently the mocking of sys.modules does not work.

@coveralls
Copy link

coveralls commented Mar 12, 2019

Pull Request Test Coverage Report for Build 1699

  • 6 of 7 (85.71%) changed or added relevant lines in 2 files are covered.
  • 3 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.002%) to 93.647%

Changes Missing Coverage Covered Lines Changed/Added Lines %
qupulse/pulses/plotting.py 4 5 80.0%
Files with Coverage Reduction New Missed Lines %
qupulse/pulses/mapping_pulse_template.py 3 96.69%
Totals Coverage Status
Change from base Build 1675: -0.002%
Covered Lines: 4797
Relevant Lines: 5055

💛 - Coveralls

@shumpohl shumpohl merged commit 6dd7c10 into master Mar 12, 2019
@shumpohl shumpohl deleted the issues/433_plotting_isinstance_fail branch January 30, 2020 09:13
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.

4 participants