We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac67784 commit 756891cCopy full SHA for 756891c
kaleidoscope/operators/randomizeop.py
@@ -15,6 +15,8 @@
15
from xarray import DataArray
16
from xarray import Dataset
17
18
+from .. import __name__
19
+from .. import __version__
20
from ..algorithms.codec import Decode
21
from ..algorithms.codec import Encode
22
from ..algorithms.randomize import Randomize
@@ -91,6 +93,8 @@ def run(self, source: Dataset) -> Dataset: # noqa: D102
91
93
get_logger().info(f"starting graph for variable: {v}")
92
94
self.randomize(target, v, x, config[v])
95
get_logger().info(f"finished graph for variable: {v}")
96
+ target.attrs["monte_carlo_software"] = __name__
97
+ target.attrs["monte_carlo_software_version"] = __version__
98
return target
99
100
@property
0 commit comments