Skip to content

Commit ad26253

Browse files
feat: extend interface and fix type (#11)
1 parent 702ceaa commit ad26253

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

snakemake_interface_report_plugins/interfaces.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,10 @@ def name(self) -> str: ...
139139
@abstractmethod
140140
def job(self) -> JobReportInterface: ...
141141

142+
@property
143+
@abstractmethod
144+
def aux_files(self) -> List[Path]: ...
145+
142146

143147
class DAGReportInterface(ABC):
144148
@abstractmethod

snakemake_interface_report_plugins/reporter.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
from snakemake_interface_report_plugins.interfaces import (
1010
CategoryInterface,
1111
ConfigFileRecordInterface,
12+
FileRecordInterface,
1213
JobRecordInterface,
1314
RuleRecordInterface,
1415
)
@@ -21,7 +22,7 @@ def __init__(
2122
self,
2223
rules: Mapping[str, RuleRecordInterface],
2324
results: Mapping[
24-
CategoryInterface, Mapping[CategoryInterface, List[RuleRecordInterface]]
25+
CategoryInterface, Mapping[CategoryInterface, List[FileRecordInterface]]
2526
],
2627
configfiles: List[ConfigFileRecordInterface],
2728
jobs: List[JobRecordInterface],

0 commit comments

Comments
 (0)