Skip to content

Commit

Permalink
fix formatting error
Browse files Browse the repository at this point in the history
  • Loading branch information
lmReef authored and lmReef committed Jan 24, 2025
1 parent 5a292c6 commit aa679d5
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions nf_core/pipelines/lint/pipeline_if_empty_null.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,10 @@ def pipeline_if_empty_null(self, root_dir=None):
with open(Path(root, fname), encoding="latin1") as fh:
for line in fh:
if re.findall(pattern, line):
warned.append(
f"`ifEmpty(null)` found in `{
fname}`: _{line}_"
)
warned.append(f"`ifEmpty(null)` found in `{fname}`: _{line}_")
file_paths.append(Path(root, fname))
except FileNotFoundError:
log.debug(
f"Could not open file {
fname} in pipeline_if_empty_null lint test"
)
log.debug(f"Could not open file {fname} in pipeline_if_empty_null lint test")

if len(warned) == 0:
passed.append("No `ifEmpty(null)` strings found")
Expand Down

0 comments on commit aa679d5

Please sign in to comment.