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

Deprecation fixes #187

Merged
merged 6 commits into from
Aug 16, 2018
Merged

Deprecation fixes #187

merged 6 commits into from
Aug 16, 2018

Conversation

153957
Copy link
Member

@153957 153957 commented Aug 15, 2018

These issues showed up as warnings during tests.

PendingDeprecationWarning: the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray.

DeprecationWarning: object of type <class 'float'> cannot be safely interpreted as an integer.

@153957
Copy link
Member Author

153957 commented Aug 15, 2018

Nice and short Travis logs, from 2900 lines to 1000 lines.

@153957
Copy link
Member Author

153957 commented Aug 15, 2018

The unittests still print a progressbar, probably for some analysis method called during a test where it was not properly disabled:

https://travis-ci.org/HiSPARC/sapphire/jobs/416257439#L863

We should find out where it comes from to silence it during tests.

@153957 153957 merged commit 3a1cc96 into master Aug 16, 2018
@153957 153957 deleted the deprecation-fixes branch August 16, 2018 20:42
@davidfokkema
Copy link
Member

Sorry, I didn't find time earlier. Looks good to me! (where do you find all the time you put into this?)

@153957
Copy link
Member Author

153957 commented Aug 17, 2018

Sleep is overrated 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants