44 class ExperimentalDesign;
71 std::map <String, Size> &column_map,
72 const std::set <String> &required,
73 const std::set <String> &optional,
74 bool allow_other_header);
Load an experimental design from a TSV file. (see ExperimentalDesign for details on the supported for...
Definition: ExperimentalDesignFile.h:53
static ExperimentalDesign load(const String &tsv_file, bool require_spectra_files)
Loads an experimental design from a tabular separated file.
static ExperimentalDesign load(const TextFile &text_file, const bool require_spectra_file, String filename)
Loads an experimental design from an already loaded or generated, tabular file.
static void parseHeader_(const StringList &header, const String &filename, std::map< String, Size > &column_map, const std::set< String > &required, const std::set< String > &optional, bool allow_other_header)
static void parseErrorIf_(const bool test, const String &filename, const String &message)
static ExperimentalDesign parseTwoTableFile_(const TextFile &text_file, const String &tsv_file, bool require_spectra_file)
static bool isOneTableFile_(const TextFile &text_file)
static ExperimentalDesign parseOneTableFile_(const TextFile &text_file, const String &tsv_file, bool require_spectra_file)
Representation of an experimental design in OpenMS. Instances can be loaded with the ExperimentalDesi...
Definition: ExperimentalDesign.h:245
A more convenient string class.
Definition: String.h:60
This class provides some basic file handling methods for text files.
Definition: TextFile.h:47
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:70
bool test
Status of the current subsection.
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:48