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

Allow setting tags on targets & contents in data fetch API. #6499

Merged
merged 2 commits into from Jul 17, 2018

Conversation

jmchilton
Copy link
Member

Backend to power better metadata collection when importing large amounts of structured data - with tests.

I'll follow up with rule builder enhancements that allow setting name tags on uploaded collections and datasets with specific support for group tags, name tags, and general purpose tags.

xref #6202
xref #5822
xref #6491
xref #5457
xref #3979
xref #5462
xref Many long conversations about the future of multi-factor analyses in Galaxy at the GCC that we didn't take any notes of or create any issues out of.

@galaxybot galaxybot added this to the 18.09 milestone Jul 13, 2018
@jmchilton jmchilton changed the title Allow setting tags on targets & contents in data fetch API. [WIP] Allow setting tags on targets & contents in data fetch API. Jul 13, 2018
@@ -46,11 +46,11 @@ def __init__(self, app):
self.tag_manager = tags.GalaxyTagManager(app.model.context)
self.ldda_manager = lddas.LDDAManager(app)

def precreate_dataset_collection_instance(self, trans, parent, name, structure, implicit_inputs=None, implicit_output_name=None):
def precreate_dataset_collection_instance(self, trans, parent, name, structure, implicit_inputs=None, implicit_output_name=None, tags=[]):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we'll want to avoid tags being mutable here.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Opps... definitely. Thanks for the catch.

Rebased with default argument handling improvements suggested by Marius.
@jmchilton jmchilton changed the title [WIP] Allow setting tags on targets & contents in data fetch API. Allow setting tags on targets & contents in data fetch API. Jul 16, 2018
@dannon dannon merged commit 4719c4a into galaxyproject:dev Jul 17, 2018
@jmchilton
Copy link
Member Author

Thanks for the typo fixes @dannon and the merge!

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

4 participants