Closed michi42 closed 1 year ago
Hi @michi42,
thanks for reporting! Is the change in https://github.com/hibtc/cpymad/commit/748843cfed10d3d3045057a1744736305380e976 what you had in mind, and fixes the error?
Best
Hi, thanks a lot for the quick fix - this is indeed exactly what I had in mind.
Ok. I pushed a minor release with that change that should go online within the next hour. Let me know if problems persist.
Ah, I noticed that an unrelated test failure has manifested. The release upload will take until later when I have fixed that. Best, Thomas
This is a follow-up of #110. It appears that the fix implemented there is not complete, as certain versions of
ipykernel
(at least 6.0.2 which is installed on CERN SWAN) raiseValueError
instead ofTypeError
- even though the error message says otherwise!I guess the fix is as simple as catching
ValueError
as well in this check...A workaround is to pass in
stdout
explicitly