def _collect_soft_chain(self): """ Build the soft-chain if it is not already defined and return the chain """ if not self.nodes: files = ChainUtil.get_alter_files() self.nodes = ChainUtil.build_soft_chain(files) return self.nodes