def make_absolute(self, path):
        cwd = os.getcwd()
        if path is None:
            path = cwd
        path = os.path.abspath(path)
        # make output absolute relative to the jobs working directory
        for opt in self.get_by_type(TYPE_OUTPUT):
            try:
                opt.make_absolute(path)
            except Exception as e:
                log.info("Unable to make output option %s absolute: %s",
                         opt.name, str(e), exc_info=True)

        # make input options absolute relative to the current working directory
        for opt in self.get_by_type(TYPE_INPUT):
            try:
                opt.make_absolute(cwd)
            except Exception as e:
                log.info("Unable to make input option %s absolute: %s",
                         opt.name, str(e), exc_info=True)
Constructor.
dataset/ETHPy150Open thasso/pyjip/jip/options.py/Options.make_absolute--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/api/search/stub/expression_evaluator.py/ExpressionEvaluator.__init__