This file contains hidden or 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
| #!/usr/bin/env python3 | |
| """Rename morphology_focus OME-TIFFs and update OME-XML in TIFF comments. | |
| This script reads a simple mapping file (default: data/xenium_output_format.md) | |
| containing lines like: | |
| morphology_focus_0000.ome.tif: DAPI image | |
| It will scan the `morphology_focus` folders under the data directory, plan | |
| renames based on the mapping, optionally perform backups, rename files, and |