Skip to content

data_conversion.py should skip MaxProjection files if file extension is .tif file Β #12

@elisabethkoert

Description

@elisabethkoert

The microscope offers the option to save MaxProjections of each tile directly with the raw data during recording (naming convention same as the tile + "_MP.tif". To skip these files when converting from raw_data (to avoid generating errors) I added the line 303 in my local version of the code. It may be nice to implement something like this also on the remote version.
302 files = sorted(glob(os.path.join(root, f"**/*{file_ext}"), recursive=True))
303 files[:] = [x for x in files if "_MP.tif" not in x]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions