public TCGADatatableBuilderUI() { InitializeComponent(); rootDir.SetDirectoryArgument("TCGARoot", "TCGA Data Root"); targetFile.FileArgument = new SaveFileArgument("Target Data", "tsv"); lbDataTypes.Items.AddRange(TCGATechnology.GetTechnologyNames().ToArray()); lbSampleTypes.Items.AddRange(TCGASampleCode.GetSampleCodes().OrderBy(m => m.Code).ToList().ConvertAll(m => string.Format("{0}, {1}", m.ShortLetterCode, m.Definition)).ToArray()); this.Text = Constants.GetSQHTitle(title, version); }
public TCGADataDownloaderUI() { InitializeComponent(); targetDir.SetDirectoryArgument("DataDirectory", "TCGA Data Target"); xmlFile.FileArgument = new OpenFileArgument("TCGA Tree Xml Format", "xml"); if (!SystemUtils.IsLinux) { zip7File.Visible = true; zip7File.Required = true; zip7File.FileArgument = new OpenFileArgument("7zip execute", "exe"); } else { zip7File.Visible = false; zip7File.Required = false; } lbDataTypes.Items.AddRange(TCGATechnology.GetTechnologyNames().ToArray()); this.Text = Constants.GetSQHTitle(Title, Version); }