forked from cctbx/dxtbx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tqdm progress bar to dials.import (cctbx#768)
Give the user some hint as to the progress i.e. the computer is doing something when you import thousands of files. Only show progress bar if > 1 file and isatty, includes a cast of the `filenames` iterator to a list to allow evaluation of the length for progress assessment. Resolves dials/dials#2783
- Loading branch information
1 parent
ea6fd5f
commit 56b467b
Showing
2 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
``dials.import``: add a progress bar for the import process, particularly | ||
useful when importing thousands of files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters