Skip to content

Commit

Permalink
resolving hda_with_distillation error
Browse files Browse the repository at this point in the history
  • Loading branch information
JavalVyas2000 committed Aug 20, 2024
1 parent afa18a4 commit c9aa62c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -445,10 +445,10 @@ def function(unit):
try:
initializer = unit.default_initializer()
initializer.initialize(unit, output_level=idaeslog.INFO)
except Exception as e:
if e=='InitializationError':
except:
try:
initializer.initialize(unit, output_level=idaeslog.INFO)
else:
except:
print(f'Unit {unit} did not initialize successfully')

seq.run(m, function)
Expand Down

0 comments on commit c9aa62c

Please sign in to comment.