code: def create_Singularity(output_directory, docker_name):
      output_singularity = os.path.join(
          output_directory, "Singularity." + docker_name
      )
  
      with open("output_singularity", "w") as writefile:
          writefile.write("Bootstrap: docker\n")
          writefile.write("From: qtimlab/{}:latest".format(docker_name))
  
      return output_singularity
  
file_path: DeepNeuro/deepneuro/pipelines/shared.py
imports: import os
  import sys
  import argparse
  from shutil import copy
  from deepneuro.data.data_collection import DataCollection
  from deepneuro.container.container_cli import nvidia_docker_wrapper
label_desc: Use image node_id 3 for calling a global function with example usage: create_Singularity(output_directory, docker_name) and returns: output_singularity