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
The expected error message is "Input design matrix {} has duplicated parameters with matrix {}".
The actual error message I get is the following. There seems to be an undefined variable "ii" used in the raise statement.
NameError Traceback (most recent call last)
Input In [31], in <cell line: 1>()
----> 1 dm12 = combine_design_matrices_by_param(dm1, dm2)
File ~/anaconda3/envs/pint-devel/lib/python3.9/site-packages/pint_pulsar-0.7+2686.gbfa227ef.dirty-py3.9.egg/pint/pint_matrix.py:611, in combine_design_matrices_by_param(matrix1, matrix2, padding)
607 for d_param in matrix2.derivative_params:
608 if d_param in base_params:
609 raise ValueError(
610 "Input design matrix {} has duplicated "
--> 611 "parameters with matrix {}".format(ii, 0)
612 )
613 # check if input design matrix has same quantity and padding.
614 new_quantity_index = {}
NameError: name 'ii' is not defined
The text was updated successfully, but these errors were encountered:
Here is how to reproduce the issue:
The expected error message is "Input design matrix {} has duplicated parameters with matrix {}".
The actual error message I get is the following. There seems to be an undefined variable "ii" used in the raise statement.
The text was updated successfully, but these errors were encountered: