Skip to content

out_file extensions doesn't work #63

Description

@h-2

Does this problem persist on the current master?

  • I have verified the issue on the current master

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

    parser.add_positional_option(options.input, "The input file.", seqan3::input_file_validator{{"vcf", "vcf.gz", "bcf"}});
    parser.add_positional_option(options.output, "The output file.", seqan3::output_file_validator{{"vcf", "vcf.gz", "bcf"}});

The first line works, the second does not.

Expected Behavior

The second line should work, too.

P.S: The {{ ... }} is a bit clunky. An operator() with pack would be nice...

Steps To Reproduce

see above

Environment

- Operating system: Ubuntu 21.10
- Sharg version: SeqAn3 master at ffeacc8a294bbcec172a4198910a61b881481935
- Compiler: GCC11.2

Anything else?

Issue template is fancy 🎉

P.S: I didn't try with standalone sharg-master because I didn't see any changes in the respective area.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions