code: def use_software_cache(sw_dir=None, reload_deps=False):
      
      sw_dir = get_sw_dir(sw_dir)
      if os.path.exists(sw_dir):
          sys.path.insert(1, sw_dir)
  
          if reload_deps:
              reload_dependencies()
docs: Adjusts ``sys.path`` so that the cached software at *sw_dir* is used. *sw_dir* is evaluated with
      :py:func:`get_sw_dir`. When *reload_deps* is *True*, :py:func:`reload_dependencies` is invoked.