guts-base 1.0.0__py3-none-any.whl → 1.0.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of guts-base might be problematic. Click here for more details.
- guts_base/__init__.py +1 -1
- guts_base/sim/ecx.py +7 -2
- {guts_base-1.0.0.dist-info → guts_base-1.0.1.dist-info}/METADATA +1 -1
- {guts_base-1.0.0.dist-info → guts_base-1.0.1.dist-info}/RECORD +8 -8
- {guts_base-1.0.0.dist-info → guts_base-1.0.1.dist-info}/WHEEL +0 -0
- {guts_base-1.0.0.dist-info → guts_base-1.0.1.dist-info}/entry_points.txt +0 -0
- {guts_base-1.0.0.dist-info → guts_base-1.0.1.dist-info}/licenses/LICENSE +0 -0
- {guts_base-1.0.0.dist-info → guts_base-1.0.1.dist-info}/top_level.txt +0 -0
guts_base/__init__.py
CHANGED
guts_base/sim/ecx.py
CHANGED
|
@@ -51,12 +51,17 @@ class ECxEstimator:
|
|
|
51
51
|
# original observations (especially time), except the ID, which is overwritten
|
|
52
52
|
# and taken from the x_in dataset
|
|
53
53
|
pseudo_obs = self.sim.observations.isel(id=[0])
|
|
54
|
-
pseudo_obs = pseudo_obs.drop([
|
|
54
|
+
pseudo_obs = pseudo_obs.drop([v for v in pseudo_obs.data_vars.keys()])
|
|
55
55
|
pseudo_obs["id"] = x_in["id"]
|
|
56
56
|
|
|
57
57
|
self.sim.config.data_structure.survival.observed = False
|
|
58
58
|
self.sim.observations = pseudo_obs
|
|
59
59
|
|
|
60
|
+
# overwrite x_in to make sure that parse_input takes x_in from exposure and
|
|
61
|
+
# does not use the string that is tied to another data variable which was
|
|
62
|
+
# originally present
|
|
63
|
+
self.sim.config.simulation.x_in = ["exposure=exposure"]
|
|
64
|
+
|
|
60
65
|
# ensure correct coordinate order with x_in and raise errors early
|
|
61
66
|
self.sim.model_parameters["x_in"] = self.sim.parse_input("x_in", x_in)
|
|
62
67
|
|
|
@@ -69,7 +74,7 @@ class ECxEstimator:
|
|
|
69
74
|
self.sim.coordinates["time"], np.array(time, ndmin=1)
|
|
70
75
|
]))
|
|
71
76
|
|
|
72
|
-
self.sim.model_parameters["y0"] = self.sim.parse_input("y0", drop_dims="time")
|
|
77
|
+
self.sim.model_parameters["y0"] = self.sim.parse_input("y0", drop_dims=["time"])
|
|
73
78
|
self.sim.dispatch_constructor()
|
|
74
79
|
|
|
75
80
|
self.results = pd.Series({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
guts_base/__init__.py,sha256=
|
|
1
|
+
guts_base/__init__.py,sha256=AqEsieZlFfc_SqQ4wN-pCXvqRCkjfF35TSOWiO_9hco,227
|
|
2
2
|
guts_base/mod.py,sha256=AzOCg1A8FP5EtVfp-66HT7G7h_wnHkenieaxTc9qCyk,5796
|
|
3
3
|
guts_base/plot.py,sha256=rjIzyPUikOtubjWI5mX_ZY8ARWl2NiHDmwAZAdoaPS8,5693
|
|
4
4
|
guts_base/prob.py,sha256=ITwo5dAGMHr5xTldilHMbKU6AFsWo4_ZwbfaXh97Gew,5443
|
|
@@ -13,13 +13,13 @@ guts_base/data/utils.py,sha256=u3gGDJK15MfRUP4iIxsS-I1oqxD2qH_ugsT7o_Eac18,236
|
|
|
13
13
|
guts_base/sim/__init__.py,sha256=5VgzsOXjMsylfWy4neeovZBG1w6G6p_tFaIfhnIeLPM,415
|
|
14
14
|
guts_base/sim/base.py,sha256=7u7gj6HQSCtFUXrrX-ngfWsWnFEMk5NrDVJH0CIolAs,28960
|
|
15
15
|
guts_base/sim/constructors.py,sha256=Kz9FHIH3EHsSIKd9sQgHa3eveniFifFlk1Hf-QR69Pg,875
|
|
16
|
-
guts_base/sim/ecx.py,sha256=
|
|
16
|
+
guts_base/sim/ecx.py,sha256=peO93pKcQwF5eULo5BdUl4KLnXzrTfvRGI8qsbAYQKU,19137
|
|
17
17
|
guts_base/sim/mempy.py,sha256=IHd87UrmdXpC7y7q0IjYQJH075frjbp2a-dMVBeqZ0U,10164
|
|
18
18
|
guts_base/sim/report.py,sha256=swTAp1qNTjDwWh-YOq_TLqtSxjQvjdwaNVHpEW8kXK4,1959
|
|
19
19
|
guts_base/sim/utils.py,sha256=Qj_FPH6kywVxOwgCerS7w5CyuYR9HKmvBWFpmxwDFgk,256
|
|
20
|
-
guts_base-1.0.
|
|
21
|
-
guts_base-1.0.
|
|
22
|
-
guts_base-1.0.
|
|
23
|
-
guts_base-1.0.
|
|
24
|
-
guts_base-1.0.
|
|
25
|
-
guts_base-1.0.
|
|
20
|
+
guts_base-1.0.1.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
21
|
+
guts_base-1.0.1.dist-info/METADATA,sha256=vYcnGPbbGHEu-1yfF_OWliNRkQ4Ly3IDDK9Khs1DlCc,45406
|
|
22
|
+
guts_base-1.0.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
23
|
+
guts_base-1.0.1.dist-info/entry_points.txt,sha256=icsHzG2jQ90ZS7XvLsI5Qj0-qGuPv2T0RBVN5daGCPU,183
|
|
24
|
+
guts_base-1.0.1.dist-info/top_level.txt,sha256=PxhBgUd4r39W_VI4FyJjARwKbV5_glgCVnd6v_zAGdE,10
|
|
25
|
+
guts_base-1.0.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|