class_docstr: A ``MaceCommand`` specific to the ``Mace`` model builder.  It contains
  a print_assumptions() method that is used to print the list
  of assumptions in multiple formats.
class_docstr_tok: ["A","``","MaceCommand","``","specific","to","the","``","Mace","``","model","builder",".","It","contains","a","print_assumptions","(",")","method","that","is","used","to","print","the","list","of","assumptions","in","multiple","formats","."]
docstr: Print out a Mace4 model using any Mace4 ``interpformat`` format.
  See https://www.cs.unm.edu/~mccune/mace4/manual/ for details.
  
  :param valuation_str: str with the model builder's output
  :param format: str indicating the format for displaying
  models. Defaults to 'standard' format.
  :return: str
docstr_tok: ["Print","out","a","Mace4","model","using","any","Mace4","``","interpformat","``","format",".","See","https",":","\/\/www.cs.unm.edu\/~mccune\/mace4\/manual\/","for","details",".",":","param","valuation_str",":","str","with","the","model","builder","'s","output",":","param","format",":","str","indicating","the","format","for","displaying","models",".","Defaults","to","'standard","'","format",".",":","return",":","str"]
code: def _decorate_model(self, valuation_str, format):
      """
      Print out a Mace4 model using any Mace4 ``interpformat`` format.
      See https://www.cs.unm.edu/~mccune/mace4/manual/ for details.
  
      :param valuation_str: str with the model builder's output
      :param format: str indicating the format for displaying
      models. Defaults to 'standard' format.
      :return: str
      """
      if not format:
          return valuation_str
      elif format == "valuation":
          return self._convert2val(valuation_str)
      else:
          return self._transform_output(valuation_str, format)
  
imports: import os
  import tempfile
  from nltk.inference.api import BaseModelBuilderCommand, ModelBuilder
  from nltk.inference.prover9 import Prover9CommandParent, Prover9Parent
  from nltk.sem import Expression, Valuation
  from nltk.sem.logic import is_indvar
label_desc: Use image node_id 7 for calling the MaceCommand obj's underlying member method code with example usage: obj._decorate_model(valuation_str, format) and returns: valuation_str, self, self