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

Inspection Error False Positive: Unresolved output for output local var #541

Open
iromeo opened this issue Oct 21, 2024 · 0 comments
Open

Comments

@iromeo
Copy link
Contributor

iromeo commented Oct 21, 2024

image
from pathlib import Path

# Things to test:
# ancient
# subworkflows

output = Path("output")
nonexistent_file = Path("nonexistent_file.txt")

rule all:
	input:
		output

rule input_nonexistent_Path:
	input: nonexistent_file
	output: output
	shell: 
		"""
		echo "This should fail" > {output}
		"""

works ok in 8.20.6

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

1 participant