Conversation
|
I'm not entirely convinced this qualifies as a fix to "Avoid obscure crash...". Invoking Not exactly friendly. Someone unfamiliar with the code won't know the significance of the error:
If we have to emit an error, could we emit it from Also, there's no test. ;-) |
|
rebased |
|
rebased onto latest master for more thorough testing |
lib/iris/tests/test_file_load.py
Outdated
There was a problem hiding this comment.
Please consider use the temp_filename() context manager for this. It avoids the need to remove the file.
|
If you're seeing a lot of weird commits in this PR it's because we removed a commit from master and some of the PRs have got themselves confused. A rebase will clear the problem. NB. It doesn't need a rebase, you can create a new PR with exactly the same commit (i.e. pelson/iris@2bcf972) and it will be just fine. It might be possible to move the head of your PR somewhere else and then back again... but caveat emptor! |
lib/iris/io/format_picker.py
Outdated
There was a problem hiding this comment.
Extra blank line please, while you're there!
|
Could you please squash your commit history, thanks. |
|
👍 Lovely work @bblay, it's good to go! |
There was a problem hiding this comment.
TranslationError seems a bit strange in this context. I would have said an IOError was better, but it doesn't madly matter now its been merged.
A fix for #101 (replaces #165).