Skip to content

Commit ffff09e

Browse files
committed
Flush stdout after printing mace fitting command
1 parent 189111a commit ffff09e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

wfl/fit/mace.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ def fit(fitting_configs, mace_name, mace_fit_params, mace_fit_cmd=None, ref_prop
167167

168168
if dry_run or verbose:
169169
print('fitting command:\n', mace_fit_cmd)
170+
sys.stdout.flush()
170171
if dry_run:
171172
warnings.warn("Exiting mace.fit without fitting, because dry_run is True")
172173
return None

0 commit comments

Comments
 (0)