def from_run_to_info(command):
    original = command.split()
    new = ['info']

    # Recover the folder
    index = original.index('-o')
    folder = original[index+1]

    # Recover chain number
    index = original.index('-N')
    number = original[index+1]

    # Recover all relevant chains
    chains = [os.path.join(folder, elem) for elem in os.listdir(folder)
              if elem.find(number) != -1]
    new.extend(chains)

    # Do not plot the pdf
    new.append("--noplot")
    return " ".join(new)
Converts all python source in the given directory to html
dataset/ETHPy150Open baudren/montepython_public/montepython/run.py/from_run_to_info--crossover with--dataset/ETHPy150Open anandology/pyjamas/examples/showcase/pyColourize.py/WebAll