public DataRepository ImportObservedData() { var dataImporterSettings = new DataImporterSettings(); dataImporterSettings.AddNamingPatternMetaData(Constants.FILE, Constants.SHEET); dataImporterSettings.AddNamingPatternMetaData(Constants.FILE, Constants.SHEET, "Species"); var dataSet = _dataImporter.ImportDataSet( _dataGenerator.DefaultMoBiMetaDataCategories(), _dataGenerator.DefaultMoBiConcentrationImportConfiguration(), dataImporterSettings); return(dataSet); }
public void StartWithMoBiSettings() { var dataImporterSettings = new DataImporterSettings(); dataImporterSettings.AddNamingPatternMetaData(Constants.FILE, Constants.SHEET); dataImporterSettings.AddNamingPatternMetaData(Constants.FILE, Constants.SHEET, "Species"); var dataSets = _importer.ImportDataSets( _dataGenerator.DefaultMoBiMetaDataCategories(), _dataGenerator.DefaultMoBiConcentrationImportConfiguration(), dataImporterSettings).ToList(); promptForImports(dataSets); }