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

Undeclared section threads warning should not be shown here #539

Closed
iromeo opened this issue Oct 21, 2024 · 1 comment
Closed

Undeclared section threads warning should not be shown here #539

iromeo opened this issue Oct 21, 2024 · 1 comment
Labels
bug Something isn't working good_for_next_release
Milestone

Comments

@iromeo
Copy link
Contributor

iromeo commented Oct 21, 2024

image
rule a:
    input:
        "test.in"
    output:
        "test.out"
    run:
        with open(output[0], "w") as f:
            print(threads, file=f)

code works ok in 8.20.6, threads will be 1 by default here

@iromeo iromeo added the bug Something isn't working label Oct 21, 2024
@iromeo
Copy link
Contributor Author

iromeo commented Oct 21, 2024

And similar for:

rule a:
    input:
        "test.in"
    output:
        "test.out"
    run:
        with open(input[0]) as f:
            with open(output[0], "w") as out:
                print(resources.slurm_extra, file=out)

@iromeo iromeo added this to the next release milestone Oct 22, 2024
@iromeo iromeo closed this as completed in 5ee2a4e Oct 22, 2024
@iromeo iromeo modified the milestones: next release, 2024.2.2 Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good_for_next_release
Projects
None yet
Development

No branches or pull requests

1 participant