def _output_location(self, location=None):
    if (location is None):
        display_path = self._ui.lineEditFileLocation.text()
    else:
        display_path = location
    if (self._workflow_location and os.path.isabs(display_path)):
        display_path = os.path.relpath(display_path, self._workflow_location)
    return display_path
def _output_location(self, location=None):
    if (location is None):
        display_path = self._ui.lineEditFileLocation.text()
    else:
        display_path = location
    if (self._workflow_location and os.path.isabs(display_path)):
        display_path = os.path.relpath(display_path, self._workflow_location)
    return display_path