Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • bliss bliss
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 539
    • Issues 539
    • List
    • Boards
    • Service Desk
    • Milestones
  • Jira
    • Jira
  • Merge requests 147
    • Merge requests 147
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • BlissBliss
  • blissbliss
  • Issues
  • #2763
Closed
Open
Issue created May 17, 2021 by Valentin Valls@valentin.vallsOwner

Flint: A ROI created from Flint can be invalid in BLISS

During an edit_roi_counter the user selection can be aborted by a BLISS assertion.

The whole ROI selection is lost.

It would be good to filter the result, and at worst skip the problematic ROI.

The problem could be something else like a negative value. In this case it would be better to save it anyway / to normalize it.

Traceback (most recent call last):
  File "/users/valls/workspace/bliss.git/bliss/flint/helper/plot_interaction.py", line 602, in __selectionFinished
    shapes = self.__roisFromGui(selection)
  File "/users/valls/workspace/bliss.git/bliss/flint/helper/plot_interaction.py", line 539, in __roisFromGui
    shape = lima_roi.Roi(x, y, w, h, name=name)
  File "/users/valls/workspace/bliss.git/bliss/controllers/lima/roi.py", line 219, in __init__
    super().__init__(name)
  File "/users/valls/workspace/bliss.git/bliss/controllers/lima/roi.py", line 190, in __init__
    assert self.is_valid()
AssertionError
Assignee
Assign to
Time tracking