Function graphannis::util::get_queries_from_csv[][src]

pub fn get_queries_from_csv(
    file: &Path,
    panic_on_invalid: bool
) -> Vec<SearchDef>
Notable traits for Vec<u8, A>
impl<A> Write for Vec<u8, A> where
    A: Allocator
Expand description

Returns a vector over all query definitions defined in a CSV file.

  • file - The CSV file path.
  • panic_on_invalid - If true, an invalid query definition will trigger a panic, otherwise it will be ignored. Can be used if this query is called in a test case to fail the test.