Skip to content

Commit

Permalink
remove make_result
Browse files Browse the repository at this point in the history
  • Loading branch information
Jammy2211 committed Mar 29, 2024
1 parent 925faa6 commit 2b9c626
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 deletions.
12 changes: 3 additions & 9 deletions autocti/charge_injection/model/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@


class AnalysisImagingCI(AnalysisCTI):

Result = ResultImagingCI

def __init__(
self,
dataset: ImagingCI,
Expand Down Expand Up @@ -462,12 +465,3 @@ def visualize_combined(
during_analysis=during_analysis,
folder_suffix="_full",
)

def make_result(
self,
samples_summary: af.SamplesSummary,
paths: af.AbstractPaths,
samples: Optional[af.SamplesPDF] = None,
search_internal: Optional[object] = None,
) -> ResultImagingCI:
return ResultImagingCI(samples_summary=samples_summary, paths=paths, samples=samples, analysis=self, search_internal=search_internal)
12 changes: 3 additions & 9 deletions autocti/dataset_1d/model/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@


class AnalysisDataset1D(AnalysisCTI):

Result = ResultDataset1D

def __init__(
self,
dataset: Dataset1D,
Expand Down Expand Up @@ -322,12 +325,3 @@ def visualize_combined(
region_list=region_list,
during_analysis=during_analysis,
)

def make_result(
self,
samples_summary: af.SamplesSummary,
paths: af.AbstractPaths,
samples: Optional[af.SamplesPDF] = None,
search_internal: Optional[object] = None,
) -> ResultDataset1D:
return ResultDataset1D(samples_summary=samples_summary, paths=paths, samples=samples, analysis=self, search_internal=search_internal)

0 comments on commit 2b9c626

Please sign in to comment.