Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
*.csv
*.png
*.pickle
*.html

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down
5 changes: 2 additions & 3 deletions hypex/reporters/aa.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from __future__ import annotations

import contextlib
from typing import Any, ClassVar

from ..comparators import Chi2Test, GroupDifference, GroupSizes, KSTest, TTest
Expand Down Expand Up @@ -29,10 +30,8 @@ def convert_flat_dataset(data: dict) -> Dataset:
@staticmethod
def get_splitter_id(data: ExperimentData):
for c in [AASplitter, AASplitterWithStratification]:
try:
with contextlib.suppress(NotFoundInExperimentDataError):
return data.get_one_id(c, ExperimentDataEnum.additional_fields)
except NotFoundInExperimentDataError:
pass # The splitting was done by another class

def extract_group_difference(self, data: ExperimentData) -> dict[str, Any]:
group_difference_ids = data.get_ids(GroupDifference)[GroupDifference.__name__][
Expand Down
3 changes: 1 addition & 2 deletions hypex/reporters/matching.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ def report(self, data: ExperimentData):
self.front = False
dict_report = super().report(data)
self.front = front_buffer
result = self.convert_flat_dataset(dict_report)
return result
return self.convert_flat_dataset(dict_report)


class MatchingDatasetReporter(DatasetReporter):
Expand Down
3,052 changes: 3,052 additions & 0 deletions schemes/anatomy.md

Large diffs are not rendered by default.

Loading
Loading