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

Format path loops #15

Open
nicholasdelrio opened this issue Apr 26, 2012 · 2 comments
Open

Format path loops #15

nicholasdelrio opened this issue Apr 26, 2012 · 2 comments

Comments

@nicholasdelrio
Copy link
Owner

Need to ensure that nobody registers a sequence of operators that forms a loop. In the future, I can be smarter about the loops and allow them under certain circumstances (don't know these circumstances yet). For now, I just want to check for a loop and if one exists warn the user or nix the path.

@paulopinheiro1234
Copy link
Collaborator

Are you saying that we cannot register both 'JPEG2GIF' and GIF2JPEG'? Not
good :-) This restriction is something you may enforce locally. I doubt
one can enforce it globally.

Cheers,
Paulo.

On 4/26/12 3:47 PM, "Nicholas Del Rio"
<reply+i-4313053-ea31807296aef5ae39d03eae718dd8903ce9d626-1434744@reply.git
hub.com> wrote:

Need to ensure that nobody registers a sequence of operators that forms a
loop. In the future, I can be smarter about the loops and allow them
under certain circumstances (don't know these circumstances yet). For
now, I just want to check for a loop and if one exists warn the user or
nix the path.


Reply to this email directly or view it on GitHub:
#15

@nicholasdelrio
Copy link
Owner Author

You are absolutely correct, not good! I can set some checks in the code to make sure the pipeline generator doesn't do something silly like building a pipeline such as (JPEG2GIF -> GIF2JPEG -> JPEG2GIF ....)

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

No branches or pull requests

2 participants