swamp.command_line package

This is SWAMP: Solving structure With Alpha Membrane Pairs

This module contains python scripts that can be used top perform the most commonly used tasks from the command line

check_path_exists(input_path)[source]

Check if a given path exists

Parameters:input_path (str, None) – location of the file to be tested
Returns:the absolute path of the file if it exists, None if the input is None
Raises:IOError – if the file doesn’t exist