def get_port_file_path(self, port_id):
        if port_id in self.config.labels:
            return os.path.join(self.output_directory, '{}.csv'.format(port_id))
        else:
            raise Exception('Invalid port id: {}'.format(port_id))
dataset/ETHPy150Open ARM-software/workload-automation/wlauto/external/daq_server/src/daqpower/server.py/DummyDaqRunner.get_port_file_path/original