pub fn pretty_parse<T>(name: &str, str: &str) -> Result<T>where
    T: FromStr<Err = Error>,