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

feat: allow AlignmentMode to be used on the command line #44

Merged
merged 4 commits into from
May 19, 2023

Conversation

nh13
Copy link
Contributor

@nh13 nh13 commented May 17, 2023

No description provided.

Cargo.toml Outdated Show resolved Hide resolved
src/alignment.rs Outdated
@@ -38,20 +40,15 @@ pub enum AlignmentOperation {
///
/// The default alignment mode is Global.
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
#[derive(Debug, PartialEq, Eq, Copy, Clone)]
#[derive(Default, Debug, PartialEq, Eq, Copy, Clone, ValueEnum)]
Copy link
Contributor

Choose a reason for hiding this comment

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

I think the ValueEnum derive needs to be conditional similar to Serialize?

src/alignment.rs Outdated Show resolved Hide resolved
@nh13 nh13 changed the title Allow AlignmentMode to be used on the command line feat: allow AlignmentMode to be used on the command line May 18, 2023
@coveralls
Copy link

Pull Request Test Coverage Report for Build 5021643648

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.9%) to 63.165%

Totals Coverage Status
Change from base Build 3655081954: 0.9%
Covered Lines: 463
Relevant Lines: 733

💛 - Coveralls

@pmarks pmarks self-requested a review May 19, 2023 15:05
Copy link
Contributor

@pmarks pmarks left a comment

Choose a reason for hiding this comment

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

nice, thanks!

@pmarks pmarks merged commit 40846fb into rust-bio:master May 19, 2023
@nh13 nh13 deleted the alignmentmode branch May 19, 2023 17:35
@nh13
Copy link
Contributor Author

nh13 commented May 19, 2023

@pmarks thank-you for your patience as I come up to speed on rust!

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.

3 participants