public ValidJdxProcessingFixture(OsdrWebTestHarness harness) { FileId = harness.ProcessRecordsFile(harness.JohnId.ToString(), "2-Methyl-1-Propanol.jdx", new Dictionary <string, object>() { { "parentId", harness.JohnId } }).Result; }
public InvalidMolProcessingFixture(OsdrWebTestHarness harness) { FileId = harness.ProcessRecordsFile(harness.JohnId.ToString(), "ringcount_0.mol", new Dictionary <string, object>() { { "parentId", harness.JohnId } }).Result; }
public DeleteEntityCategoryFixture(OsdrWebTestHarness harness) { var categories = new List <TreeNode>() { new TreeNode("Category Root", new List <TreeNode>() { new TreeNode("My Test Category"), new TreeNode("Projects Two") }) }; var response = harness.JohnApi.PostData("api/categorytrees/tree", categories).Result; var content = response.Content.ReadAsStringAsync().Result; RootCategoryId = Guid.Parse(content); harness.WaitWhileCategoryTreePersisted(RootCategoryId); BlobId = harness.JohnBlobStorageClient.AddResource(harness.JohnId.ToString(), "Chemical-diagram.png", new Dictionary <string, object>() { { "parentId", harness.JohnId } }).Result; FileId = harness.WaitWhileFileProcessed(BlobId); }
public PredictPropertiesValidCaseFixture(OsdrWebTestHarness harness) { FolderId = harness.PredictProperties(harness.JohnId.ToString(), "combined lysomotrophic.sdf", new Dictionary <string, object>() { { "parentId", harness.JohnId } }).Result; }
public InvalidCifProcessingImageGenerationFixture(OsdrWebTestHarness harness) { FileId = harness.ProcessRecordsFile(harness.JohnId.ToString(), "InvalidImageGeneration.cif", new Dictionary <string, object>() { { "parentId", harness.JohnId } }).Result; }
public UploadPngFixture(OsdrWebTestHarness harness) { FileId = harness.ProcessFile(harness.JohnId.ToString(), "Chemical-diagram.png", new Dictionary <string, object>() { { "parentId", harness.JohnId } }).Result; }
public UploadValidCsvFixture(OsdrWebTestHarness harness) { FileId = harness.ProcessFile(harness.JohnId.ToString(), "FocusSynthesis_InStock.csv", new Dictionary <string, object>() { { "parentId", harness.JohnId } }).Result; }
public TrainOneModelAndFailDuringTheReportGenerationFixture(OsdrWebTestHarness harness) { FolderId = harness.TrainModel(harness.JohnId.ToString(), "drugbank_10_records.sdf", new Dictionary <string, object>() { { "parentId", harness.JohnId }, { "case", "train one model and fail during the report generation" } }).Result; }
public AddEntityCategories(OsdrWebTestHarness harness, ITestOutputHelper output, AddEntityCategoriesFixture fixture) : base(harness, output) { CategoryId = fixture.CategoryId; BlobId = fixture.BlobId; FileId = fixture.FileId; FileNodeId = fixture.FileNodeId; }
public InvalidSdfProcessingFixture(OsdrWebTestHarness harness) { FileId = harness.ProcessRecordsFile(harness.JohnId.ToString(), "test_solubility.sdf", new Dictionary <string, object>() { { "parentId", harness.JohnId } }).Result; }
public UploadJpgFixture(OsdrWebTestHarness harness) { FileId = harness.ProcessFile(harness.JohnId.ToString(), "computer-humor-computer-science.jpg", new Dictionary <string, object>() { { "parentId", harness.JohnId } }).Result; }
public TrainOneValidModelReverseEventsFixture(OsdrWebTestHarness harness) { FolderId = harness.TrainModel(harness.JohnId.ToString(), "combined lysomotrophic.sdf", new Dictionary <string, object>() { { "parentId", harness.JohnId }, { "case", "valid one model (reverse events order)" } }).Result; }
public TrainOneModelAndFailBeforeTrainingFixture(OsdrWebTestHarness harness) { FolderId = harness.TrainModel(harness.JohnId.ToString(), "drugbank_10_records.sdf", new Dictionary <string, object>() { { "parentId", harness.JohnId }, { "case", "fail before starting training" } }).Result; }
public UploadValidPdfFixture(OsdrWebTestHarness harness) { FileId = harness.ProcessFile(harness.JohnId.ToString(), "Abdelaziz A Full_manuscript.pdf", new Dictionary <string, object>() { { "parentId", harness.JohnId } }).Result; }
public ValidSdfProcessingFixture(OsdrWebTestHarness harness) { FileId = harness.ProcessRecordsFile(harness.JohnId.ToString(), "drugbank_10_records.sdf", new Dictionary <string, object>() { { "parentId", harness.JohnId } }).Result; }
public UploadGifFixture(OsdrWebTestHarness harness) { FileId = harness.ProcessFile(harness.JohnId.ToString(), "2018-02-14.gif", new Dictionary <string, object>() { { "parentId", harness.JohnId } }).Result; }
public InvalidCifProcessingFixture(OsdrWebTestHarness harness) { FileId = harness.ProcessRecordsFile(harness.JohnId.ToString(), "1100110_modified.cif", new Dictionary <string, object>() { { "parentId", harness.JohnId } }).Result; }
public UploadValidDocFixture(OsdrWebTestHarness harness) { FileId = harness.ProcessFile(harness.JohnId.ToString(), "Developing Standard Approaches for Curating Small Molecule Pharmaceuticals_Jan18_2013.doc", new Dictionary <string, object>() { { "parentId", harness.JohnId } }).Result; }
public InvalidJdxProcessingFixture(OsdrWebTestHarness harness) { FileId = harness.ProcessRecordsFile(harness.JohnId.ToString(), "13Csample.jdx", new Dictionary <string, object>() { { "parentId", harness.JohnId } }).Result; }
public SingleStructurePredictionsFixture(OsdrWebTestHarness harness) { FolderId = harness.PredictProperties(harness.JohnId.ToString(), "combined lysomotrophic.sdf", new Dictionary <string, object>() { { "parentId", harness.JohnId }, { "case", "valid one model with success optimization" } }).Result; }
public TrainOneValidModelWithSuccessOptimizationFixture(OsdrWebTestHarness harness) { FolderId = harness.TrainModel(harness.JohnId.ToString(), "combined lysomotrophic.sdf", new Dictionary <string, object>() { { "parentId", harness.JohnId }, { "case", "valid one model with success optimization" } }).Result; }
public ValidCdxProcessingFixture(OsdrWebTestHarness harness) { FileId = harness.ProcessRecordsFile(harness.JohnId.ToString(), "125_11Mos.cdx", new Dictionary <string, object>() { { "parentId", harness.JohnId } }).Result; }
public TrainOneValidModelWithFailedOptimization(OsdrWebTestHarness fixture, ITestOutputHelper output) : base(fixture, output) { FolderId = TrainModel(JohnId.ToString(), "combined lysomotrophic.sdf", new Dictionary <string, object>() { { "parentId", JohnId }, { "case", "train model with failed optimization" } }, true).Result; }
public UploadGzFixture(OsdrWebTestHarness harness) { FileId = harness.ProcessFile(harness.JohnId.ToString(), "IMG_0109.gz", new Dictionary <string, object>() { { "parentId", harness.JohnId } }).Result; }
public TrainOneValidModelWithDelays(OsdrWebTestHarness fixture, ITestOutputHelper output) : base(fixture, output) { FolderId = TrainModel(JohnId.ToString(), "combined lysomotrophic.sdf", new Dictionary <string, object>() { { "parentId", JohnId }, { "case", "valid one model (with delays)" } }).Result; }
public TrainOneModelAndFailDuringTheTraining(OsdrWebTestHarness fixture, ITestOutputHelper output) : base(fixture, output) { FolderId = TrainModel(JohnId.ToString(), "drugbank_10_records.sdf", new Dictionary <string, object>() { { "parentId", JohnId }, { "case", "train one model and fail during the training" } }).Result; }
public PredictPropertiesInvalidCase(OsdrWebTestHarness fixture, ITestOutputHelper output) : base(fixture, output) { FolderId = PredictProperties("invalid case", "combined lysomotrophic.sdf", new Dictionary <string, object>() { { "parentId", JohnId } }).Result; }
public ValidSdfProcessingFixture(OsdrWebTestHarness harness) { BlobId = harness.JohnBlobStorageClient.AddResource(harness.JohnId.ToString(), "drugbank_10_records.sdf", new Dictionary <string, object>() { { "parentId", harness.JohnId } }).Result; FileId = harness.WaitWhileRecordsFileProcessed(BlobId); }
public InvalidRxnProcessingFixture(OsdrWebTestHarness harness) { BlobId = harness.JohnBlobStorageClient.AddResource(harness.JohnId.ToString(), "empty.rxn", new Dictionary <string, object>() { { "parentId", harness.JohnId } }).Result; FileId = harness.WaitWhileRecordsFileProcessed(BlobId); }
public DeleteFolder(OsdrWebTestHarness fixture, ITestOutputHelper output) : base(fixture, output) { var response = JohnApi.CreateFolderEntity(JohnId, "new folder").Result; var folderLocation = response.Headers.Location.ToString(); _folderId = Guid.Parse(folderLocation.Substring(folderLocation.LastIndexOf("/") + 1)); Harness.WaitWhileFolderCreated(_folderId); }