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.
Handle image templates that don't use zero padding (cctbx#705)
* Use a single `#` character in a filename template to represent a non-zero-padded incremental number.
- Loading branch information
Showing
6 changed files
with
80 additions
and
18 deletions.
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,10 @@ | ||
The template handling mechanism is extended so that a template with a | ||
single ``#`` is expanded to match non-zero padded sequential numbers. | ||
For example, ``image_#.cbf`` will match ``image_1.cbf``, ``image_2.cbf``, | ||
..., ``image_10.cbf`` and so on. | ||
|
||
Using a single ``#`` to match up to 10 images _within_ a zero-padded | ||
sequence continues to work as before. For example, | ||
``dials.import template=insulin_1_01#.img`` will match the files | ||
``insulin_1_010.img``, ``insulin_1_011.img``, ..., ``insulin_1_019.img``, | ||
and no others. |
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
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
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
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
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