Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting metadata for interval in input tests does not work #15197

Open
lldelisle opened this issue Dec 13, 2022 · 0 comments
Open

Setting metadata for interval in input tests does not work #15197

lldelisle opened this issue Dec 13, 2022 · 0 comments
Labels

Comments

@lldelisle
Copy link
Contributor

Describe the bug
If you write a test in a workflow or a tool and you want to use the metadata for interval. For example:

      <param name="input" value="droPer1.gff" ftype="interval" >
        <metadata name="chromCol" value="1"/>
        <metadata name="startCol" value="4"/>
        <metadata name="endCol" value="5"/>
      </param>

The metadata is not used and the startCol is still 2 (the default) and endCol is still 3 (the default)

Galaxy Version and/or server at which you observed the bug
Galaxy Version: any up to date

To Reproduce
Steps to reproduce the behavior:
I wrote a PR with a test included into the Framework tests which simply print the 3 metadata columns: #14869
And the test fails with:

FAILED test/functional/test_toolbox_pytest.py::TestFrameworkTools::test_tool[metadata_interval/1.0.0-0] - galaxy.tool_util.verify.interactor.JobOutputsError: Output output_of_input_metadata:  different than expected
Expected line '1 4 5' in output ('1 2 3
')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants