Skip to content

Commit a848c8e

Browse files
authored
Merge pull request #31 from BAMresearch/modifying_databundle_and_associates
Modifying databundle and associates
2 parents 312cb82 + 5d337fd commit a848c8e

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

src/modacor/dataclasses/process_step_describer.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@ class ProcessStepDescriber:
5454
step_doc: str = field(default="") # documentation for the process
5555
step_reference: NXCite = field(default="") # NXCite to the paper describing the process
5656
step_note: str | None = field(default=None)
57-
use_frames_cache: list[str] = field(factory=list)
58-
# for produced_values dictionary key names in this list, the produced_values are cached
59-
# on first run, and reused on subsequent runs. Maybe two chaches, one for per-file and
60-
# one for per-execution.
61-
use_overall_cache: list[str] = field(factory=list)
62-
# for produced_values dictionary key names in this list, the produced_values are cached
63-
# on first run, and reused on subsequent runs. Maybe two chaches, one for per-file and
64-
# one for per-execution.
57+
# use_frames_cache: list[str] = field(factory=list)
58+
# # for produced_values dictionary key names in this list, the produced_values are cached
59+
# # on first run, and reused on subsequent runs. Maybe two chaches, one for per-file and
60+
# # one for per-execution.
61+
# use_overall_cache: list[str] = field(factory=list)
62+
# # for produced_values dictionary key names in this list, the produced_values are cached
63+
# # on first run, and reused on subsequent runs. Maybe two chaches, one for per-file and
64+
# # one for per-execution.
6565

6666
def copy(self) -> ProcessStepDescriber:
6767
raise NotImplementedError()

src/modacor/modules/base_modules/poisson_uncertainties.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# src/modacor/dataclasses/processingdata.py
2-
# -*- coding: utf-8 -*-
1+
__coding__ = "utf-8"
2+
__file__ = "src/modacor/dataclasses/processingdata.py"
33
__author__ = "Brian R. Pauw"
44
__copyright__ = "MoDaCor team"
55
__license__ = "BSD3"
@@ -8,6 +8,7 @@
88
__status__ = "Development" # "Development", "Production"
99

1010

11+
from pathlib import Path
1112
from typing import Any
1213

1314
import numpy as np
@@ -25,7 +26,7 @@ class PoissonUncertainties(ProcessStep):
2526
documentation = ProcessStepDescriber(
2627
calling_name="Add Poisson Uncertainties",
2728
calling_id="PoissonUncertainties",
28-
calling_module_path=__file__,
29+
calling_module_path=Path(__file__),
2930
calling_version=__version__,
3031
required_data_keys=["signal"],
3132
works_on={"variances": ["Poisson"]},

0 commit comments

Comments
 (0)