def store_dcnm_net_dict(self, net_dict, direc):
        """Storing the DCNM net dict. """
        if direc == 'in':
            self.in_dcnm_net_dict = net_dict
        else:
            self.out_dcnm_net_dict = net_dict
Storing the DCNM net dict.