Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

better "debug" for error in command line usage #2763

Merged
merged 1 commit into from Jan 19, 2024

Conversation

k-dominik
Copy link
Contributor

tiny bandaid...

it's sadly common to get not very helpful error messages when using ilastik from the command line.
For me this often comes back to this error message complaining about trailing file names.
It is not obvious what portion of the cmd is treated that way so now we at least give a hint on what is interpreted incorrectly.

xref: #1830

Copy link

codecov bot commented Nov 6, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (e9217d3) 55.76% compared to head (9cce831) 55.76%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2763      +/-   ##
==========================================
- Coverage   55.76%   55.76%   -0.01%     
==========================================
  Files         530      530              
  Lines       62226    62226              
  Branches     8504     8504              
==========================================
- Hits        34702    34698       -4     
- Misses      25770    25773       +3     
- Partials     1754     1755       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@btbest btbest left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better error messages 👍

it's sadly common to get not very helpful error messages when using
ilastik from the command line.
For me this often comes back to this error message complaining about
trailing file names.
It is absolutely not obvious what portion of the cmd is treated that way
so now we at least give a hint on what is interpreted incorrectly.

xref: ilastik#1830
@k-dominik k-dominik merged commit af27c2c into ilastik:main Jan 19, 2024
15 of 16 checks passed
@k-dominik k-dominik deleted the cmd-better-error branch January 19, 2024 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants