code: def get_run_configuration(fname):
      
      configurations = _get_run_configurations()
      for filename, options in configurations:
          if fname == filename:
              runconf = RunConfiguration()
              runconf.set(options)
              return runconf
docs: Return script *fname* run configuration