''' Derived from freemol.mpeg_encode Copyright (c) Schrodinger, Inc. ''' def validate(): ''' Return the path to the "mpeg_encode" executable or None if not found ''' from shutil import which return which('mpeg_encode') or which('mpeg_encode.exe') INPUT_TEMPLATE = """ # parameter file template with lots of comments to assist you # # you can use this as a template, copying it to a separate file then modifying # the copy # # # any line beginning with '#' is a comment # # no line should be longer than 255 characters # # # general format of each line is: #