Commit Graph
8 Commits
Author SHA1 Message Date
Nicola Soranzo 43aa5fa482 Lint various Python files. 2015-07-13 00:13:21 +01:00
Nicola Soranzo 9805294f97 Revert "Revert "[WIP] Mega flake8 linting""
This reverts commit 37f1976d38.
2015-07-12 21:25:44 +01:00
Dannon Baker 37f1976d38 Revert "[WIP] Mega flake8 linting" 2015-07-11 13:17:38 -04:00
Bjoern Gruening 6a2ac39c5a pep8 fixes 2015-07-05 18:17:35 +01:00
Dannon Baker 4f8ef6539c cluster-side filtering of metadata keys. Still done once the final dict is assembled, to allow for all three passes to work correctly with their dependent keys, etc. 2015-07-01 11:05:42 -04:00
John Chilton 4de71a0c82 Allow setting `auto_format="True" on tool output`s.
The metadata system will then "sniff" the outputs and set the type appropriately.

Tool used to demonstrate and test this functionality is included, run the test with:

    ./run_tests.sh -framework -id output_auto_format

If auto_format="true" than explicitly setting ``format="another_type"`` will prevent the tool from loading so that we can allow this to specify a default type later without breaking backward compatiblity.

Update 1:
 - Switched from ``format="auto"`` to ``auto_format="true"`` based on Dan's comments (https://github.com/galaxyproject/galaxy/pull/130).

Update 2:
 - Updated this to work when setting metadata internally.
 - Switch underlying representation of type from ``_auto_`` to ``_sniff_`` based on seeing a new block in ``galaxy.jobs``. ``auto`` indicates the tool should specify the datatype at runtime. This is in some ways the inverse of that (the tool telling Galaxy to detect the type instead of Galaxy telling the tool to) so I decided it would be best to not have ``auto`` and ``_auto_`` doing completely different things.
2015-04-22 12:45:11 -04:00
Nate Coraor 1172b13a04 Ensure that set_metadata always loads the galaxy module from the same
version of Galaxy it is in.
2015-03-13 13:32:54 -04:00
Nate Coraor f481e9d58c Move set_metadata (once again), to galaxy_ext so that the galaxy
namespace does not conflict with others (e.g. the galaxy-ops package in
the toolshed).
2015-03-13 13:31:58 -04:00