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

Add helpful error message #306

Open
chasemc opened this issue Mar 14, 2023 · 1 comment
Open

Add helpful error message #306

chasemc opened this issue Mar 14, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@chasemc
Copy link
Member

chasemc commented Mar 14, 2023

raise NotImplementedError

Currently the error has to be traced back to the code:

Traceback (most recent call last):
  File "/home/chase/miniconda3/envs/autometa/bin/autometa-download-dataset", line 8, in <module>
    sys.exit(main())
  File "/home/chase/miniconda3/envs/autometa/lib/python3.10/site-packages/autometa/validation/datasets.py", line 197, in main
    download(
  File "/home/chase/miniconda3/envs/autometa/lib/python3.10/site-packages/autometa/validation/datasets.py", line 47, in download
    raise NotImplementedError
NotImplementedError
@chasemc chasemc added enhancement New feature or request good first issue Good for newcomers labels Mar 14, 2023
@chasemc
Copy link
Member Author

chasemc commented Mar 14, 2023

Example of how to do so:

raise KeyError(f"member not in tarchive : {member} : {tarchive}")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants