Skip to content

Commit

Permalink
Display program verison and release date at the end of the syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
alchemistmatt committed Jul 8, 2020
1 parent 2244c97 commit 384e6b0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
5 changes: 5 additions & 0 deletions MzidToTsvConverter/ConverterOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ public class ConverterOptions
/// </remarks>
public const string DefaultGeneIdRegexPattern = @"(?<=(?<=(?<=sp|tr)\|[0-9A-Z\-]{6,}\|)|^)([A-Z0-9]{2,})(?=_[A-Z0-9]{2,})";

/// <summary>
/// Program build date
/// </summary>
public const string PROGRAM_DATE = "2020-07-07";

public ConverterOptions()
{
MzidPath = string.Empty;
Expand Down
7 changes: 5 additions & 2 deletions MzidToTsvConverter/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@ static int Main(string[] args)
{
ProgramInfo = "This program converts a .mzid file created by MS-GF+ into a tab-delimited text file.",

ContactInfo = "Program written by Bryson Gibbons for the Department of Energy" + Environment.NewLine +
"(PNNL, Richland, WA) in 2018" +
ContactInfo = "Program written by Bryson Gibbons for the Department of Energy " + Environment.NewLine +
"(PNNL, Richland, WA) in 2018" + Environment.NewLine + Environment.NewLine +
string.Format(
"Version: {0}.{1}.{2} ({3})",
programVersion.Major, programVersion.Minor, programVersion.Build, ConverterOptions.PROGRAM_DATE) +
Environment.NewLine + Environment.NewLine +
"E-mail: [email protected] or [email protected]" + Environment.NewLine +
"Website: https://panomics.pnnl.gov/ or https://omics.pnl.gov",
Expand Down

0 comments on commit 384e6b0

Please sign in to comment.