pub fn new<P: Into<PathBuf>>(path: P) -> Result<InteractionsInput, Error> {
        let path = path.into();
        let mut file = try_io!(File::open(&path), path);
        let mut buffer = String::new();
        let _ = try_io!(file.read_to_string(&mut buffer), path);
        return InteractionsInput::from_str(&buffer);
    }
/// Read interactions from the TOML formatted file at `path`.
Read interactions from the TOML formatted file at `path`.
Read interactions from the TOML formatted file at ` path ` .
pub fn new<P: Into<PathBuf>>(path: P) -> Result<InteractionsInput, Error> {
        let path = path.into();
        let mut file = try_io!(File::open(&path), path);
        let mut buffer = String::new();
        let _ = try_io!(file.read_to_string(&mut buffer), path);
        return InteractionsInput::from_str(&buffer);
    }
pub fn new < P : Into < PathBuf > > ( path : P ) -> Result < InteractionsInput , Error > { let path = path . into ( ) ; let mut file = try_io ! ( File open ( path ) path ) ; let mut buffer = String :: new ( ) ; let _ = try_io ! ( file read_to_string ( mut buffer ) path ) ; return InteractionsInput :: from_str ( & buffer ) ; }
Read interactions from the TOML formatted file at `path`.
Read interactions from the TOML formatted file at ` path ` .
path
P