Explicit handling of images exceeding concentration limit

Open
#226 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
52/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
backend

Research direction

Find where the concentration limit check currently skips over-limit images in the pyopia pipeline, and design a custom exception raised there instead. Trace how the CLI and example notebooks consume pipeline steps so the new exception can be handled gracefully. No files are named, so start by searching the pipeline code for the concentration limit config key; done means over-limit images raise the exception and the CLI (and tests, if present) handle it without silently returning zero.

Written by the indexing model from the issue text.

Description

patch / enhancement

Images with more identified particles than the config-specified concentration limit are currently skipped in the pipeline, effectively resulting in zero concentration for that image. This could be better handled by triggering a custom Exception that needs to be handled in the command line interface, or directly by the user for custom processing cases.

Dominant language
Jupyter Notebook
Stars
19
Forks
7
Avg merge
10d 11h
Merged PRs (30d)
1

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from SINTEF/pyopia

All issues in SINTEF/pyopia

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.