Skip to content

Commit

Permalink
[#1009] Easier debug with strict=True 9
Browse files Browse the repository at this point in the history
  • Loading branch information
dvezinet committed Jan 16, 2025
1 parent f695c2f commit a98ba70
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tofu/imas2tofu/_comp.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,9 @@ def fsig(obj, indt=None, indch=None, stack=None, dcond=dcond):
if len(ind) == 1:
if len(sig[jj]) < ind[0] + 1:
msg = (
"dcond[{ii}]['ind'] = {dcond[ii]['ind']} so ind = {ind} but len(sig[{jj}]) = {len(sig[jj])}"
f"dcond[{ii}]['ind'] = {dcond[ii]['ind']} "
f"so ind = {ind} "
"but len(sig[{jj}]) = {len(sig[jj])}"
)
raise Exception(msg)
else:
Expand Down

0 comments on commit a98ba70

Please sign in to comment.