Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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}'


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: