-
Notifications
You must be signed in to change notification settings - Fork 7
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 for execution sections in 'use' section #408
Milestone
Comments
Similar for subworflows:
See if is_name(token):
try:
if token.string == "snakefile":
self.has_snakefile = True
if token.string == "workdir":
self.has_workdir = True
for t in self.subautomaton(token.string).consume():
yield t
except KeyError:
self.error(
"Unexpected keyword {} in "
"subworkflow definition".format(token.string),
token,
) |
For
For Use, see
|
dakochik
pushed a commit
that referenced
this issue
Aug 11, 2021
…f unrecognized subsection is acceptable for another section Resolves: #408
dakochik
pushed a commit
that referenced
this issue
Aug 12, 2021
…ferent inspections, Resolves: #408
dakochik
pushed a commit
that referenced
this issue
Aug 12, 2021
dakochik
pushed a commit
that referenced
this issue
Aug 16, 2021
refactored: tests and error messages Resolves: #408
@dakochik Please add short feature demo (png or gif) |
iromeo
pushed a commit
that referenced
this issue
Aug 16, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If an execution section appears in 'use' section, we are getting misleading message:
But in this case, snakemake prints an error with message: "Unexpected keyword shell in rule definition"
So, we need to add a more appropriate message.
Related to #355
The text was updated successfully, but these errors were encountered: