in src/hpcadvisor/dataset_handler.py [0:0]
def get_plotfilter(plotfilter_file):
plotfilter = {}
if plotfilter_file and os.path.exists(plotfilter_file):
plotfilter = utils.get_data_from_file(plotfilter_file)
for key, value in plotfilter.items():
if not isinstance(value, list):
plotfilter[key] = [value]
else:
log.warning(
"Plotfilter file not provided or does not exist. Consuming entire dataset"
)
return plotfilter