Skip to content

Commit 43689bc

Browse files
committed
Skipping Snakemake benchmark files when parsing Snakemake logs
1 parent 1fb1d20 commit 43689bc

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

wfcommons/wfinstances/logs/snakemake.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,10 @@ def _build_file_map(self):
162162
cursor.execute("SELECT * FROM files")
163163
rows = cursor.fetchall()
164164
for row in rows:
165+
file_type = row[2]
166+
# Skip snakemake's BENCHMARK files (and besides snkmt doesn't deal with them correctly!)
167+
if file_type == "BENCHMARK":
168+
continue
165169
task_idx = row[3]
166170
if task_idx not in self.task_input_files and task_idx not in self.task_output_files:
167171
continue

0 commit comments

Comments
 (0)