News for hackers. Stuff that matters.
Re:Pypeline: A Python library for creating concurrent data p... by elsherbini on Monday September 24, 2018 @01:57PM (#18059808)
Small change, you have to use wilcards.country inside the shell call:

    rule analyze_country:
        input: 'whatever.{country}.txt'
        output: 'analysis.{country}.txt'
        shell:
            'run-analysis-on-country {input} {output} --country={wildcards.country}'

There are no comments on this comment yet.