code: def list_of_integers_or_int(string, separator=","):
      if string.isdigit():
          return int(string)
      return list_of_integers(string, separator)
  
file_path: medpy/bin/medpy_grid.py
imports: import os
  import argparse
  import logging
  import tempfile
  import scipy
  from medpy.core import Logger
  from medpy.io import load, save, header
label_desc: Use image node_id 2 for calling a global function with example usage: list_of_integers_or_int(string, separator) and returns: list_of_integers, int