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

Add element_identifier and ext to inputs config file export #17357

Merged

Conversation

bernt-matthias
Copy link
Contributor

@bernt-matthias bernt-matthias commented Jan 25, 2024

element identifiers are crucial for collections and need to be exposed in the inputs configfile export. it's too hacky to parse the identifier from the staging path (plus: the staging path is sanitised).

I suggest to make the element_identifier a list, because it is for collections (there the first list elements are collection identifiers and the last the element identifier of the dataset), such that users (tool developers) do not need to check if it is a list or a string.

TODO:

  • docs in xsd

How to test the changes?

(Select all options that apply)

  • I've included appropriate automated tests.
  • This is a refactoring of components with existing test coverage.
  • Instructions for manual testing are as follows:
    1. [add testing steps and prerequisites here if you didn't write automated tests covering all your changes]

License

  • I agree to license these and all my past contributions to the core galaxy codebase under the MIT license.

@jmchilton
Copy link
Member

This seems great!

element identifiers are crucial for collections and need to be
exposed in the inputs configfile export. it's too hacky to
parse the identifier from the staging path (plus: the staging
path is sanitised).

I suggest to make the element_identifier a list, because it is
for collections (there the first list elements are collection
identifiers and the last the element identifier of the dataset),
such that users (tool developers) do not need to check if it is
a list or a string.
Co-authored-by: John Davis <jdavcs@gmail.com>
@jdavcs
Copy link
Member

jdavcs commented Mar 1, 2024

Thank you, @bernt-matthias!

@jdavcs jdavcs merged commit 477e072 into galaxyproject:dev Mar 1, 2024
51 of 53 checks passed
Copy link

github-actions bot commented Mar 1, 2024

This PR was merged without a "kind/" label, please correct.

@bernt-matthias bernt-matthias deleted the topic/id_ext_inputs_configfile branch March 1, 2024 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants