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 error handling #18

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open

Better error handling #18

wants to merge 16 commits into from

Conversation

DavidEHufnagel
Copy link
Collaborator

updated error handling setting a standard for future development.

@DavidEHufnagel
Copy link
Collaborator Author

@akim135 and @sammysheep I'd love your review on this one. For Allen the purpose is to keep you involved and get a fresh opinion. For Sam the purpose is to get an expert opinion on my error handling strategy. I want to get it right now so I have a standard to follow going forward.

@sammysheep
Copy link
Collaborator

I'll take a look now.

@sammysheep
Copy link
Collaborator

I'm done for now. For comparison: 50a0bf4...ff2dd47

Some items to check:

  • Observe enum-based error method in Orf trimmer
  • Mode is converted to option, similar to how medians and averages would be handled, but can be converted by the caller
  • Fasta manager can use std::io::error if it only has one kind of error
  • Panicking tests #[should_panic]
  • Added CI for PRs and main
  • Review TODOs

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.

2 participants