[galaxyproject/galaxy] 0303ec: Optimize get_file_peek()
Branch: refs/heads/dev Home: https://github.com/galaxyproject/galaxy Commit: 0303ec33ae2044b9e0f2482cd4cd56a5db6f2664 https://github.com/galaxyproject/galaxy/commit/0303ec33ae2044b9e0f2482cd4cd5... Author: Nicola Soranzo <nicola.soranzo@tgac.ac.uk> Date: 2016-07-20 (Wed, 20 Jul 2016) Changed paths: M lib/galaxy/datatypes/data.py Log Message: ----------- Optimize get_file_peek() last_line was always the empty string because line is read with readline() and therefore '\n' is always its last character (if it is present). Follow-up to #2556. Commit: 9b5f6d60c6dd66a556f22202abcd90c5c2d4858f https://github.com/galaxyproject/galaxy/commit/9b5f6d60c6dd66a556f22202abcd9... Author: Nicola Soranzo <nicola.soranzo@tgac.ac.uk> Date: 2016-07-20 (Wed, 20 Jul 2016) Changed paths: M lib/galaxy/util/__init__.py Log Message: ----------- Fix smart_str doctest Docstrings should start with 'u"""' if containing Unicode characters (see also PEP 257). Backslashes should be doubled in docstrings (or raw strings should be used, but the 'ur' prefix is not supported in Python3). Commit: c6c22a977f97208ad1196bdc07b53f9e89313123 https://github.com/galaxyproject/galaxy/commit/c6c22a977f97208ad1196bdc07b53... Author: Dannon Baker <dannon.baker@gmail.com> Date: 2016-07-21 (Thu, 21 Jul 2016) Changed paths: M lib/galaxy/datatypes/data.py M lib/galaxy/util/__init__.py Log Message: ----------- Merge pull request #2637 from nsoranzo/get_file_peek Optimize get_file_peek() Compare: https://github.com/galaxyproject/galaxy/compare/715441df84a8...c6c22a977f97
participants (1)
-
GitHub