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
16 changes: 8 additions & 8 deletions src/modacor/dataclasses/process_step_describer.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ class ProcessStepDescriber:
step_doc: str = field(default="") # documentation for the process
step_reference: NXCite = field(default="") # NXCite to the paper describing the process
step_note: str | None = field(default=None)
use_frames_cache: list[str] = field(factory=list)
# for produced_values dictionary key names in this list, the produced_values are cached
# on first run, and reused on subsequent runs. Maybe two chaches, one for per-file and
# one for per-execution.
use_overall_cache: list[str] = field(factory=list)
# for produced_values dictionary key names in this list, the produced_values are cached
# on first run, and reused on subsequent runs. Maybe two chaches, one for per-file and
# one for per-execution.
# use_frames_cache: list[str] = field(factory=list)
# # for produced_values dictionary key names in this list, the produced_values are cached
# # on first run, and reused on subsequent runs. Maybe two chaches, one for per-file and
# # one for per-execution.
# use_overall_cache: list[str] = field(factory=list)
# # for produced_values dictionary key names in this list, the produced_values are cached
# # on first run, and reused on subsequent runs. Maybe two chaches, one for per-file and
# # one for per-execution.

def copy(self) -> ProcessStepDescriber:
raise NotImplementedError()
7 changes: 4 additions & 3 deletions src/modacor/modules/base_modules/poisson_uncertainties.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# src/modacor/dataclasses/processingdata.py
# -*- coding: utf-8 -*-
__coding__ = "utf-8"
__file__ = "src/modacor/dataclasses/processingdata.py"
__author__ = "Brian R. Pauw"
__copyright__ = "MoDaCor team"
__license__ = "BSD3"
Expand All @@ -8,6 +8,7 @@
__status__ = "Development" # "Development", "Production"


from pathlib import Path
from typing import Any

import numpy as np
Expand All @@ -25,7 +26,7 @@ class PoissonUncertainties(ProcessStep):
documentation = ProcessStepDescriber(
calling_name="Add Poisson Uncertainties",
calling_id="PoissonUncertainties",
calling_module_path=__file__,
calling_module_path=Path(__file__),
calling_version=__version__,
required_data_keys=["signal"],
works_on={"variances": ["Poisson"]},
Expand Down
Loading