You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assertr_compartment==r_summation, f"The summation-converted-compartment:\n{r_compartment}\ndiffers from the summation one:\n{r_summation}"
235
+
# summation after report printing loses accuracy due to truncation
236
+
# We use the loose tols in that case
237
+
assertr_compartment.allclose(r_summation, **loose_tols), f"The summation-converted-compartment:\n{r_compartment}\ndiffers from the summation one:\n{r_summation}"
assertr_summation_i_membrane_IClamp==r_summation_i_membrane_IClamp_manual, "Summation report does not match manual addition of compartment_i_membrane and summation_IClamp reports."
250
+
# summation after report printing loses accuracy due to truncation
251
+
# We use the loose tols in that case
252
+
assertr_summation_i_membrane_IClamp.allclose(r_summation_i_membrane_IClamp_manual, **loose_tols), "Summation report does not match manual addition of compartment_i_membrane and summation_IClamp reports."
248
253
249
254
# Compare files to reference. Since the reference is fixed, this is also a comparison neuron vs coreneuron
0 commit comments