def _make_projcet_list(path):
from collections import OrderedDict<EOL>from matplotlib.colors import LinearSegmentedColormap<EOL>from matplotlib.colors import rgb2hex as r2h<EOL>from numpy import linspace<EOL>proj = []<EOL>projects = OrderedDict()<EOL>file_list = os.listdir(path)<EOL>for files in file_list:<EOL><INDENT>if files.split("<STR_LIT:.>")[<NUM_LIT:0>] not in proj and '<STR_LIT>' in files and "<STR_LIT:#>" not in files and "<STR_LIT>" not in files:<EOL><INDENT>proj.append(files.split("<STR_LIT:.>")[<NUM_LIT:0>])<EOL><DEDENT><DEDENT>colors = _get_colors(len(proj))<EOL>p_c = <NUM_LIT:0><EOL>for p in proj:<EOL><INDENT>tasks = OrderedDict()<EOL>temp = [x.split("<STR_LIT:.>")[<NUM_LIT:1>] for x in file_list if p in x and "<STR_LIT:#>" not in x and "<STR_LIT>" not in x]<EOL>cmspace = linspace(<NUM_LIT>, <NUM_LIT>, len(temp))<EOL>cm = LinearSegmentedColormap.from_list("<STR_LIT>".format(p),<EOL>['<STR_LIT>', colors[p_c]],<EOL>N=max((len(temp), <NUM_LIT>)))<EOL>hues = [r2h(cm(cmi)) for cmi in cmspace]<EOL>h_c = <NUM_LIT:0><EOL>for t in temp:<EOL><INDENT>tasks[t] = [hues[h_c],p+"<STR_LIT:.>"+t+"<STR_LIT>"]<EOL>h_c += <NUM_LIT:1><EOL><DEDENT>tasks["<STR_LIT>"] = colors[p_c]<EOL>projects[p] = tasks<EOL>p_c += <NUM_LIT:1><EOL><DEDENT>return projects<EOL>
Returns a dictionaries in which each project is a key and the
    tasks are stored as a list within that dictionaly element.

    Args:
        path (str): The path to the folder containing the *.json files.

    Returns:
        projects (list of dict): A dictionary in which each project is a key 
          containing a list of it's tasks.