ome / ome/openmicroscopy

CLI delete fails unhelpfully given unknown type name

Open
#6,029 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
222
Forks
105
Avg merge
2h 21m
Merged PRs (30d)
1

Description

bin/omero delete Plate:123 works nicely but bin/omero delete plate:123 gives a confusing error.

  1. OMERO.cli might should check input against legal graph targets returned by --list.
  2. OMERO.server could catch this and return a nicer error from that layer too.

Contributor guide

Open the 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.

Research direction

Start with bin/omero and reproduce the difference between delete Plate:123 and delete plate:123, then inspect the legal graph targets exposed by --list. Check how OMERO.server handles the unknown type and define done as an actionable error for invalid input, whether handled by the CLI, server, or both.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, python
Domain
backend, cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.