-
Notifications
You must be signed in to change notification settings - Fork 18
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 mrc import axes #52
Conversation
For me, locally the tests went through. So I didn't check that particular one. I'll have a look. I suspect the indeces with the swapped axes might cause it to fail. |
Do you have |
Yes, I have it. But it could be that I had some array left in memory when checking or alternatively forgot to manually call that particular test function. I am not very familiar with the |
Just do |
Yes, that's what I did and it went through. Otherwise I wouldn't have filed the PR. Strange... |
FWIW I just tried locally and the tests also fail for me.
|
It seems we haven't included the axis juggling...? that would explain mobie/clem-example-project#20 |
???
with:
|
The tests pass, so I am not sure what's confusing you here. |
Can you please also add a test for 2d data? |
So you just haven't merged it yet? I thought we got stuck with some errors in the tests. That was already too long ago and I was on holidays in between, so forgot about the details. |
I see. You're right. I also forgot about the details over that time. The tests are still failing in the CI... |
I can reproduce the test failures locally:
I also compared a few values quickly and they are very different, this is not just some rounding error. And I have the same mrcfile version that you have:
|
confirm. Set up anew env and now it fails for me as well. Let me explore what's going on... |
OK, I know what the problem is. Obviously the |
so locally the tests run now for me:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tests pass in the CI as well now. Thanks!
tests are fine wrt axis mess because we use the same library for writing and reading the files.