code: def path(self):
      if self.is_local:
          return parse_uri(self.url).uri_path
      return os.path.join(self._img_dir, self.hash) + ".simg"
  
imports: from pathlib import Path
  import subprocess
  import shutil
  import os
  import hashlib
  from snakemake.common import get_snakemake_searchpaths, is_local_file, parse_uri
  from snakemake.exceptions import WorkflowError
  from snakemake.logging import logger
  from snakemake_interface_common.utils import lazy_property
label_desc: Use image node_id 5 for calling the Image obj's underlying member method code with example usage: obj.path() and returns: unknown, parse_uri