[galaxyproject/galaxy] cbcee5: Use contextmanager when using compression_util.get...
Branch: refs/heads/dev Home: https://github.com/galaxyproject/galaxy Commit: cbcee585b5cde16ef356a0907d52a493fd1b9f53 https://github.com/galaxyproject/galaxy/commit/cbcee585b5cde16ef356a0907d52a... Author: mvdbeek <m.vandenbeek@gmail.com> Date: 2017-06-30 (Fri, 30 Jun 2017) Changed paths: M lib/galaxy/datatypes/data.py M lib/galaxy/datatypes/sequence.py M lib/galaxy/datatypes/sniff.py M lib/galaxy/datatypes/tabular.py Log Message: ----------- Use contextmanager when using compression_util.get_fileobj() Commit: e379f44effa9a72e5da6d01db6e2ee6d7f56e949 https://github.com/galaxyproject/galaxy/commit/e379f44effa9a72e5da6d01db6e2e... Author: mvdbeek <m.vandenbeek@gmail.com> Date: 2017-07-03 (Mon, 03 Jul 2017) Changed paths: M lib/galaxy/datatypes/tabular.py Log Message: ----------- Remove outer try/except in Eland sniffer Exceptions in a sniffer are already caught in galaxy.datatypes.sniff.guess_ext() and are equivalent to `return False`. Thanks @nsoranzo! Commit: 3d16aa62fa8e5dc2d47e92e0a8eaa1ece27fb7ee https://github.com/galaxyproject/galaxy/commit/3d16aa62fa8e5dc2d47e92e0a8eaa... Author: mvdbeek <m.vandenbeek@gmail.com> Date: 2017-07-03 (Mon, 03 Jul 2017) Changed paths: M lib/galaxy/datatypes/tabular.py Log Message: ----------- Also remove the inner try/except Commit: ee62fa7de89da4b6ecec04a43e608820ab6aa65e https://github.com/galaxyproject/galaxy/commit/ee62fa7de89da4b6ecec04a43e608... Author: Nicola Soranzo <nsoranzo@tiscali.it> Date: 2017-07-03 (Mon, 03 Jul 2017) Changed paths: M lib/galaxy/datatypes/data.py M lib/galaxy/datatypes/sequence.py M lib/galaxy/datatypes/sniff.py M lib/galaxy/datatypes/tabular.py Log Message: ----------- Merge pull request #4270 from mvdbeek/context_manager_get_fileobj Use contextmanager when using compression_util.get_fileobj() Compare: https://github.com/galaxyproject/galaxy/compare/816912998115...ee62fa7de89d
participants (1)
-
GitHub