Skip to content

add folder depth to backend and frontend. #4

@cudmore

Description

@cudmore

I want to expand searching for tif files in a folder to include a folder depth.

  1. Right now in kym_file.py we have collect_metadata() as:

"""
def collect_metadata(root: str | Path, **kwargs: Any) -> List[Dict[str, Any]]:
"""Collect metadata for all TIFF files under a root directory.
"""

Expand this to take a param like:
folder_depth:int = 1

Folder depth of 1 will be the same as our current behavior.

  1. add this concept to the nicegui interface in src/kymflow_gui
  • add a nicegui int setter 'Folder Depth' in same row as 'load folder'. The value of this will be passed to collect_metadata() as folder_depth

Summary

I assume this will just populate our gui file_table.py with a long list of tif files (including subfolders).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions