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

Improve error message when --destination exists #371

Merged
merged 4 commits into from
Mar 9, 2022

Conversation

ewels
Copy link
Contributor

@ewels ewels commented Mar 9, 2022

Add in a new custom error message when --directory exists, so that it's clearer what is wrong.

Note that these should probably be raising exceptions rather than doing sys.exit.. But I'm a bit behind what the current methodology is so I'll leave that for a suggestion / separate PR.

Before submitting a PR to the dev branch:

  • Tests passing
  • Black formatting
  • Rebase/merge the dev branch
  • Note in the CHANGELOG

Additional checks before submitting a PR to the master branch:

  • Change version in setup.py (?)

@talavis talavis force-pushed the tweak-destinary-error branch from 394f291 to 7cbd7e2 Compare March 9, 2022 12:45
CHANGELOG.md Outdated Show resolved Hide resolved
Copy link
Member

@i-oden i-oden left a comment

Choose a reason for hiding this comment

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

💪🏻

@i-oden i-oden added the should have Important but not vital label Mar 9, 2022
@i-oden i-oden merged commit a0e7b32 into ScilifelabDataCentre:dev Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
should have Important but not vital
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants