diff --git a/newsfragments/775.bugfix b/newsfragments/775.bugfix new file mode 100644 index 000000000..450b4bd4a --- /dev/null +++ b/newsfragments/775.bugfix @@ -0,0 +1 @@ +``dials.import``: set tqdm output to stdout (again) diff --git a/src/dxtbx/model/experiment_list.py b/src/dxtbx/model/experiment_list.py index 9916636f5..4ab93b966 100644 --- a/src/dxtbx/model/experiment_list.py +++ b/src/dxtbx/model/experiment_list.py @@ -677,7 +677,7 @@ def from_filenames( format_kwargs = {} if os.isatty and len(filenames) > 1 and "DIALS_NOBANNER" not in os.environ: - filename_iter = tqdm(to_process, total=len(filenames)) + filename_iter = tqdm(to_process, total=len(filenames), file=sys.stdout) else: filename_iter = to_process