code: def parse_path(path):
      """Parse user given path
  
      Parameters
      ----------
      path : str
          user given path
  
      Returns
      -------
      src_path : str
          user given source path
      dest_name : str
          user given destination name
  
      Raises
      ------
      InvalidDestinationName
          if destination name is a path then error
      """
      # Parse given path and split out the destination
      path = path.strip()
      path_split_list = path.split(">")
      if len(path_split_list) == 1:
          src_path = path_split_list[0]
          src_dir, src_name = os.path.split(src_path)
          dest_name = src_name
      elif len(path_split_list) == 2:
          src_path, dest_name = path_split_list
      else:
          raise TooManyArgumentsFound()
      # Test dest_path to ensure it is valid
      if os.path.isabs(dest_name):
          raise InvalidDestinationName()
      return src_path, dest_name
  
imports: import os
  import re
  import ast
  import hashlib
  import textwrap
  import datetime
  import pytz
  import tzlocal
  import pytest
  import collections
  import platform
  import tempfile
  import subprocess
  import zipfile
  import sys
  import shutil
  import requests
  from enum import Enum
  from io import open
  from glob import glob
  from datmo.core.controller.environment.driver.dockerenv import DockerEnvironmentDriver
  from datmo.core.util.i18n import get
  from datmo.core.util.exceptions import PathDoesNotExist, MutuallyExclusiveArguments, RequiredArgumentMissing, EnvironmentConnectFailed, EnvironmentExecutionError, InvalidDestinationName, TooManyArgumentsFound
label_desc: Use image node_id 20 for calling a global function with example usage: parse_path(path) and returns: src_path,  dest_name