docs: def subs(self, path):
          """
              Search the strings in a config file for a substitutable value, e.g. 
              "morphologies_dir": "$COMPONENT_DIR/morphologies",
          """
          #print_v('Checking for: \n  %s, \n  %s \n  in %s'%(self.substitutes,self.init_substitutes,path))
          if type(path) == int or type(path) == float:
              return path
          for s in self.init_substitutes:
              if path.startswith(s):
                  path = path.replace(s,self.init_substitutes[s], 1)
          #print_v('  So far: %s'%path)
          for s in self.substitutes:
              if s in path:
                  path = path.replace(s,self.substitutes[s])
          #print_v('  Returning: %s'%path)
          return path