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

Putting too many steps out of order results in an error that is not usually seen in Ruffus #15

Open
claresloggett opened this issue Jun 24, 2013 · 0 comments

Comments

@claresloggett
Copy link
Collaborator

We can use the usual Ruffus functionality where we put a step out of order and use the task name as a string, and this is ok:

@follows('first_task')
def second_task():
    ....

def first_task():
    ....

However if we put two tasks before the same dependency task, we get an error:

@follows('first_task')
def second_task():
    ....

@follows('first_task')
def other_second_task():
    ....

def first_task():
    ....

The second @follows('first_task') will throw an error like
ruffus.graph.error_duplicate_node_name: [pipeline.first_task] has already been added

This does not seem to happen when using straight ruffus scripts, without rubra.

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