class_docstr: Base class for ANTS interfaces
docstr: Convenience method for converting input arrays [1,2,3] to
  commandline format '1x2x3'
docstr_tok: ["Convenience","method","for","converting","input","arrays","[","1,2,3","]","to","commandline","format","'1x2x3","'"]
code: def _format_xarray(val):
      """Convenience method for converting input arrays [1,2,3] to
      commandline format '1x2x3'"""
      return "x".join([str(x) for x in val])
  
file_path: nipype/nipype/interfaces/ants/base.py
imports: import os
  from packaging.version import Version, parse
  from ...None import logging
  from ..base import CommandLine, CommandLineInputSpec, traits, isdefined, PackageInfo
label_desc: Use image node_id 3 for calling the ANTSCommand obj's underlying member method code with example usage: obj._format_xarray(val) and returns: str