Skip to content

Commit f3dc23d

Browse files
Update aeolis/bed.py
proper warning Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 8bee6ae commit f3dc23d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aeolis/bed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ def update_composite(s, p):
629629
ix_steps = np.vstack((ix_nocob[1,:], ix_step0[1,:], ix_step1[1,:], ix_step2[1,:], ix_step3[1,:], ix_step4[1,:], ix_step5[1,:], ix_step6[1,:], ix_step7[1,:], ix_step8[1,:]))
630630
check = np.sum(ix_steps, axis=0)
631631
if np.sum(s['dcob'] - s['doverlap'] < 0) > 0:
632-
print('Cobble thickness is smaller than overlap thickness')
632+
logger.warning('Cobble thickness is smaller than overlap thickness')
633633
if np.sum(check!=1) > 0:
634634
args = np.argwhere(check!=1)
635635
nocob_check = ix_nocob[1,args]

0 commit comments

Comments
 (0)