git clone https://github.com/half-adder/lif-figure.git
cd lif-figure
uv sync --group devTo run the tool locally:
uv run lif-figure input.lif --channels "DAPI,GFP,mCherry"uv run python -m pytestThis project uses Ruff for linting and formatting.
uv run ruff check . # Check for lint errors
uv run ruff check --fix . # Auto-fix lint errors
uv run ruff format . # Format codeFor the best development experience, install the Ruff extension. The project includes .vscode/settings.json which enables format-on-save.
lif-figure/
├── src/lif_figure/
│ ├── cli.py # Command-line interface
│ ├── reader.py # LIF file reading and metadata extraction
│ ├── figure.py # Matplotlib figure generation
│ └── config.py # Configuration handling
├── tests/ # Test files
└── docs/ # Documentation
- Metadata Extraction Logic - How acquisition metadata is extracted from LIF files