mvdbeek bd6fe02aa8 Fix set metadata for primary discovered outputs
We were previously setting metadata on the path that `filename_override`
points to, which (should be an output in the job working directory, or an
output in the object store.

That does not work for `unnnamed_outputs` that are inferred via
galaxy.json and that are discovered using collect_dynamic_outputs. In
most cases that doesn't lead to an exception, but it does fail for bam
files (and a small subset of other datatypes I would guess) if you
specify the extension explicitly (if the extension is not set, sniffing
on the empty dataset results in `data`, which will prevent the
exception). For datatypes that don't fail in `set_metadata` on empty
input files metadata would then be set again when collecting dynamic
outputs, this time using the correct path.

The fix here is to check whether the file we're setting metadata for is
actually an unnamed output, and override the path with the path to the
file in the working directory. To prevent setting metadata twice we also
skip setting metadata on files that already have a database id (which
should only be these primary discovered outputs).
2021-06-02 11:30:20 +02:00
2021-02-16 18:41:50 +00:00
2021-05-11 22:09:24 +02:00
2020-10-07 11:52:13 +01:00
2016-09-01 13:17:43 -04:00
2021-05-14 21:32:22 +02:00
2020-11-09 14:35:21 -08:00
2021-05-19 09:40:50 +02:00
2021-01-12 09:29:54 -05:00
2020-10-08 15:19:49 -04:00
2020-07-13 13:07:34 -04:00
2019-06-13 12:53:26 +01:00
2020-12-15 15:06:23 +01:00
2020-10-07 11:52:13 +01:00
2020-05-13 19:30:49 +01:00
2021-01-11 21:59:32 -05:00
2017-05-16 21:51:37 +00:00
2020-12-25 17:38:51 -05:00
2021-01-22 13:12:59 -05: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-gitter-blue.svg
    :target: https://gitter.im/galaxyproject/Lobby
    :alt: Chat on gitter

.. 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/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 3.6 . To check your Python version, run:

.. code:: console

    $ python -V
    Python 3.6.10

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

For more installation details please see: https://getgalaxy.org/

Documentation is available at: https://docs.galaxyproject.org/

Tutorials on how to use Galaxy, perform scientific analyses with it, develop Galaxy and its tools, and admin a Galaxy server are at: https://training.galaxyproject.org/

Tools
=====

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>`_ .
Languages
Python 64.2%
TypeScript 14.5%
Vue 12.5%
JavaScript 3.7%
Jupyter Notebook 2.4%
Other 2.5%