Nicola Soranzo 7d3b9c53bb Listify value for multiple SelectToolParameterWrapper
Fix error:

```
2019-12-05 19:03:43,286 ERROR [galaxy.jobs.runners] (2) Failure preparing job
Traceback (most recent call last):
  File "/tmp/tmpwRXIXJ/galaxy-dev/lib/galaxy/jobs/runners/__init__.py", line 230, in prepare_job
    job_wrapper.prepare()
  File "/tmp/tmpwRXIXJ/galaxy-dev/lib/galaxy/jobs/__init__.py", line 1066, in prepare
    self.command_line, self.extra_filenames, self.environment_variables = tool_evaluator.build()
  File "/tmp/tmpwRXIXJ/galaxy-dev/lib/galaxy/tools/evaluation.py", line 480, in build
    raise e
TypeError: argument of type 'SelectToolParameterWrapper' is not iterable
FAIL
```

when running `planemo test` on a tool which specify a multiple select param:

```xml
<param name="plots" type="select" multiple="true" ...>
    <option value="vln" selected="true">Violin and Scatter plots</option>
    <option value="feat" selected="true">Feature counts plots</option>
    ...
</param>
```

with a single value in the test:

```xml
<param name="plots" value="feat" />
```

and the command contains code like:

```
 #if "vln" in $meta.plots:
```

Seen in Travis job:

https://travis-ci.org/galaxyproject/tools-iuc/jobs/621235187

for pull request:

https://github.com/galaxyproject/tools-iuc/pull/2625

Also:
- don't unnecessarily copy a list in `listify()` function
2019-12-06 11:58:44 +00:00
2016-09-01 13:17:43 -04:00
2019-04-03 16:21:26 -04:00
2019-02-21 11:59:26 -07:00
2017-05-16 21:51:37 +00:00
2018-10-24 23:22:19 +01:00
2019-04-12 15:02:11 +01:00

.. figure:: https://galaxyproject.org/images/galaxy-logos/galaxy_project_logo.jpg
   :alt: Galaxy Logo

The latest information about Galaxy can be found on the `Galaxy Community Hub <https://galaxyproject.org/>`__.

Community support is available at `Galaxy Help <https://help.galaxyproject.org/>`__.

.. image:: https://img.shields.io/badge/chat-irc.freenode.net%23galaxyproject-blue.svg
    :target: https://webchat.freenode.net/?channels=galaxyproject
    :alt: Chat on irc

.. image:: https://img.shields.io/badge/chat-gitter-blue.svg
    :target: https://gitter.im/galaxyproject/Lobby
    :alt: Chat on gitter

.. image:: https://img.shields.io/badge/release-documentation-blue.svg
    :target: https://docs.galaxyproject.org/en/master/
    :alt: Release Documentation

.. image:: https://travis-ci.org/galaxyproject/galaxy.svg?branch=dev
    :target: https://travis-ci.org/galaxyproject/galaxy
    :alt: Inspect the test results

Galaxy Quickstart
=================

Galaxy requires Python 2.7 To check your python version, run:

.. code:: console

    $ python -V
    Python 2.7.3

Start Galaxy:

.. code:: console

    $ sh run.sh

Once Galaxy completes startup, you should be able to view Galaxy in your
browser at:

http://localhost:8080

Configuration & Tools
=====================

You may wish to make changes from the default configuration. This can be
done in the ``config/galaxy.ini`` file.

Tools can be either installed from the Tool Shed or added manually.
 For details please see the `tutorial <https://galaxyproject.org/admin/tools/add-tool-from-toolshed-tutorial/>`__.
Note that not all dependencies for the tools provided in the
``tool_conf.xml.sample`` are included. To install them please visit
"Manage dependencies" in the admin interface.

Issues and Galaxy Development
=============================

Please see `CONTRIBUTING.md <CONTRIBUTING.md>`_ .

Roadmap
=============================

Interested in the next steps for Galaxy? Take a look at the `roadmap <https://github.com/galaxyproject/galaxy/projects/8>`__.
Languages
Python 64.2%
TypeScript 14.5%
Vue 12.5%
JavaScript 3.7%
Jupyter Notebook 2.4%
Other 2.5%