try_write_iqdat

Function try_write_iqdat 

Source
pub fn try_write_iqdat<P: AsRef<Path>>(
    recs: Vec<IndexMap<String, DmapField>>,
    outfile: P,
) -> Result<(), DmapError>
Expand description

Attempts to convert recs to IqdatRecord then append to outfile.

ยงErrors

if any of the IndexMaps are unable to be interpreted as a IqdatRecord, or there is an issue writing to file.