You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Enable Markdown in the Sphinx docs.
- Add a doc section for Galaxy tool framework updates.
- Add a script to generate HTML Remark slides from a markdown document.
- Use aforementioned script to auto-generate tool framework update slides from Planemo docs.
This document describes changes to Galaxy's tooling framework over recent
27
+
releases.
28
+
29
+
---
30
+
31
+
### 16.04
32
+
33
+
Full [Galaxy changelog](https://docs.galaxyproject.org/en/master/releases/16.04_announce.html).
34
+
35
+
---
36
+
37
+
#### Tool Profile Version ([PR #1688](https://github.com/galaxyproject/galaxy/pull/1688))
38
+
39
+
Tools may (and should) now declare a `profile` version (e.g.
40
+
`<toolprofile="16.04" ...>`).
41
+
42
+
This allows Galaxy to fire a warning if a tool uses features too new for the
43
+
current version and allows us to migrate away from some undesirable default
44
+
behaviors that were required for backward compatiblity.
45
+
46
+
---
47
+
48
+
#### `set -e` by default ([d020522](https://github.com/galaxyproject/galaxy/pull/1688/commits/d020522650a9bfc86c22923a01fd5d7c07c65326))
49
+
50
+
From the [IUC best practices documentation](http://galaxy-iuc-standards.readthedocs.org/en/latest/best_practices/tool_xml.html#command-tag):
51
+
52
+
> _"If you need to execute more than one shell command, concatenate them with a double ampersand (`&&`), so that an error in a command will abort the execution of the following ones."_
53
+
54
+
The job script generated with profile `16.04`+ tools will include a `#set -e` statement causing this behavior by default.
55
+
56
+
Older-style tools can enable this behavior by setting `strict="true"` on
57
+
the tool `command` XML block.
58
+
59
+
---
60
+
61
+
#### Using Exit Codes for Error Detection ([b92074e](b92074e6ff87a19133b4d973577779c4ee6286d7))
62
+
63
+
Previously the default behavior was for Galaxy to ignore exit codes and
64
+
declare a tool in error if issued any output on standard error. This was
65
+
a regretable default behavior and so all tools were encouraged to declare
66
+
special XML blocks to force the use of exit codes.
67
+
68
+
For any tool that declares a profile version of `16.04` or greater, the
69
+
default is now just to use exit codes for error detection.
70
+
71
+
---
72
+
73
+
#### Unrobust Features Removed ([b92074e](b92074e6ff87a19133b4d973577779c4ee6286d7))
74
+
75
+
A few tool features have ben removed from tools that declare a version of `16.04` or newer.
76
+
77
+
- The `interepreter=` attribute on `command` blocks has been eliminated. Please use `$__tool_directory__` from within the tool instead.
78
+
- `format="input"` on output datasets has been eliminated, please use `format_source=` to specify an exact input to derive datatype from.
79
+
- Disables extra output file discovery by default, tools must explicitly describe the outputs to collect with `discover_dataset` tags.
80
+
- Tools require a `version` attribute - previously an implicit default to `1.0.0` would be used.
81
+
- `$param_file` has been eliminated.
82
+
83
+
---
84
+
85
+
#### Clean Working Directories
86
+
87
+
Previously, Galaxy would fill tool working directories with files related to
88
+
metadata and job metric collection. Tools will no longer be executed in the same directory as these files.
89
+
90
+
This applies to all tools not just profile `16.04`+ tools.
91
+
92
+
---
93
+
94
+
### 16.01
95
+
96
+
Full [Galaxy changelog](https://docs.galaxyproject.org/en/master/releases/16.01_announce.html).
<environment_variablename="FORTEST">#for i in ['m', 'o', 'o']#$i#end for#</environment_variable>
255
+
</environment_variables>
256
+
...
257
+
```
258
+
259
+
[Test tool](https://github.com/galaxyproject/galaxy/blob/dev/test/functional/tools/environment_variables.xml) demonstrating the use of the `environment_variables` tag.
260
+
261
+
---
262
+
263
+
#### Collections
264
+
265
+
- Explicit output collections can now be used in workflows. ([PR #311](https://github.com/galaxyproject/galaxy/pull/311))
266
+
- The `filter` tag has been implemented for output dataset collections ([PR #455](https://github.com/galaxyproject/galaxy/pull/455). See the example tool [output_collection_filter.xml](https://github.com/galaxyproject/galaxy/blob/dev/test/functional/tools/output_collection_filter.xml).
0 commit comments