code: def add_ending_slash(filename):
      """Since we want to replace based on having an ending slash, ensure it's there"""
      if not filename.endswith("/"):
          filename = "%s/" % filename
      return filename
  
file_path: snakemake/snakemake/executors/google_lifesciences_helper.py
imports: import argparse
  from google.cloud import storage
  from glob import glob
  import sys
  import os
label_desc: Use image node_id 4 for calling a global function with example usage: add_ending_slash(filename) and returns: filename