Skip to content

Commit

Permalink
[#1009] Easier debug with strict=True 7
Browse files Browse the repository at this point in the history
  • Loading branch information
dvezinet committed Jan 16, 2025
1 parent 9c6bef1 commit d9a2c8d
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions tofu/imas2tofu/_comp.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,14 +218,12 @@ def fsig(obj, indt=None, indch=None, stack=None, dcond=dcond):

if len(ind) == 1:
# DB
try:
sig[jj] = sig[jj][ind[0]]
except Exception as err:
print()
print(ii, jj)
print(ind)
print(sig[jj])
raise err
print()
print(ii, jj)
print(ind, ind[0])
print(type(sig[jj]), len(sig[jj]))
print(sig[jj])
sig[jj] = sig[jj][ind[0]]
else:
if nsig != 1:
msg = ("nsig should be 1!\n"
Expand Down

0 comments on commit d9a2c8d

Please sign in to comment.