frag_pele/Analysis/backtrackFragTrajectory.py
def parseArguments():
    """
        Parse the command-line options

        :returns: str, str, str, str --  path to file to backtrack,
            path to the result files,
            output path where to write the files, name of the files
    """
    desc = "Write the information related to the conformation network to file\n"
    parser = argparse.ArgumentParser(description=desc)
    parser.add_argument("file_to_backtrack", type=str, help="File of the selected_results folder that you want to"
                                                            "backtrack.")

    parser.add_argument("-p", type=str, default="growing_results", help="Path to the folder which contains the growing"
                                                                        "results of all growing steps.")
    parser.add_argument("-o", type=str, default=None, help="Output path where to write the files")
    parser.add_argument("--name", type=str, default="pathway.pdb", help="Name of the pdb to write the files")
    args = parser.parse_args()
    return args.file_to_backtrack, args.p, args.o, args.name

        Parse the command-line options

        :returns: str, str, str, str --  path to file to backtrack,
            path to the result files,
            output path where to write the files, name of the files
    
Parse the command-line options
Parse the command - line options
def parseArguments():
    desc = "Write the information related to the conformation network to file\n"
    parser = argparse.ArgumentParser(description=desc)
    parser.add_argument("file_to_backtrack", type=str, help="File of the selected_results folder that you want to"
                                                            "backtrack.")
    parser.add_argument("-p", type=str, default="growing_results", help="Path to the folder which contains the growing"
                                                                        "results of all growing steps.")
    parser.add_argument("-o", type=str, default=None, help="Output path where to write the files")
    parser.add_argument("--name", type=str, default="pathway.pdb", help="Name of the pdb to write the files")
    args = parser.parse_args()
    return args.file_to_backtrack, args.p, args.o, args.name
def parseArguments ( ) : desc = "Write the information related to the conformation network to file\n" parser = argparse . ArgumentParser ( description = desc ) parser . add_argument ( "file_to_backtrack" , type = str , help = "File of the selected_results folder that you want to" "backtrack." ) parser . add_argument ( "-p" , type = str , default = "growing_results" , help = "Path to the folder which contains the growing" "results of all growing steps." ) parser . add_argument ( "-o" , type = str , default = None , help = "Output path where to write the files" ) parser . add_argument ( "--name" , type = str , default = "pathway.pdb" , help = "Name of the pdb to write the files" ) args = parser . parse_args ( ) return args . file_to_backtrack , args . p , args . o , args . name
Parse the command-line options
Parse the command - line options
"""
        Parse the command-line options

        :returns: str, str, str, str --  path to file to backtrack,
            path to the result files,
            output path where to write the files, name of the files
    """
str, str, str, str --  path to file to backtrack,
path to the result files,
output path where to write the files, name of the files
str str str str -- path to file to backtrack path to the result files output path where to write the files name of the files