text: #!/usr/bin/env python3
  
  import sys
  import os
  
  MCELL_PATH = os.environ.get('MCELL_PATH', '')
  if MCELL_PATH:
      sys.path.append(os.path.join(MCELL_PATH, 'lib'))
  else:
      print("Error: variable MCELL_PATH that is used to find the mcell library was not set.")
      sys.exit(1)
  
  import mcell as m
  
  
  bngl_file = 'test.bngl'
  
  model = m.Model()
  model.load_bngl(bngl_file)
  model.initialize()
  