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

Ease clients' handling of split-fileset operations. #105

Open
mtbc opened this issue Sep 7, 2020 · 0 comments
Open

Ease clients' handling of split-fileset operations. #105

mtbc opened this issue Sep 7, 2020 · 0 comments

Comments

@mtbc
Copy link
Member

mtbc commented Sep 7, 2020

#100 (comment) reminds of how, when a user specifies a graph operation like chgrp with a partial fileset, then it is for clients to try again with all the fileset's images (or indeed the fileset itself) targeted. It would be quite workable for requests to simply offer an "include whole fileset" option that, say, causes a,

graphPolicy.setCondition("whole_fileset");

and, before the policy rules like,

<bean parent="graphPolicyRule"
    p:matches="Fileset[I].images = I:[E]"
    p:changes="I:[I]"/>

<bean parent="graphPolicyRule"
    p:matches="F:Fileset[E]{i}.images = [I]"
    p:changes="F:{r}"/>

include an earlier rule like,

<bean parent="graphPolicyRule"
    p:matches="$whole_fileset, F:Fileset[E].images = [I]"
    p:changes="F:[I]"/>

(In general, ome.services.graphs offers a lot of hooks that omero.cmd.graphs could use for effecting all manner of behaviors.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant