old_contents: #This file contains the outline used for creating the condor job specification files
  #Changes to requirements, etc, can be made here
  
  condor_string_header = """#Condor job
  universe       = vanilla
  """
  
  #For normal jobs. All arguments to the COPASI binary are hardcoded here
  condor_string_args = """executable = ${copasiPath}/CopasiSE.$$$$(OpSys).$$$$(Arch)
  arguments = --nologo --home . ${copasiFile} --save ${copasiFile}
  """
  
  #For raw mode. Allows for custom arguments to be added
  condor_string_no_args = """executable = ${copasiPath}/CopasiSE.${OpSys}.${Arch}
  arguments = $args
  """
  
  condor_string_body = """transfer_input_files = ${copasiFile}${otherFiles}
  log =  ${copasiFile}.log  
  error = ${copasiFile}.err
  output = ${copasiFile}.out
  rank = ${rank}
  Requirements = ( (OpSys == "WINNT61" && Arch == "INTEL" ) || (OpSys == "WINNT61" && Arch == "X86_64" ) || (Opsys == "LINUX" && Arch == "X86_64" ) || (OpSys == "OSX" && Arch == "PPC" ) || (OpSys == "OSX" && Arch == "INTEL" ) || (OpSys == "LINUX" && Arch == "INTEL" ) ) && (Memory > 0 ) && (machine != "localhost.localdomain")
  should_transfer_files = YES
  when_to_transfer_output = ON_EXIT
  queue\n"""
  
  raw_condor_job_string = condor_string_header + condor_string_args + condor_string_body
  
  raw_mode_string = condor_string_header + condor_string_no_args + condor_string_body
  
  
  
  #This spec is used for the stochastic simulation results processing task
  #Since processing for this task is quite computationally expensive, we run it
  #on Condor. A few slight differences to the usual spec, such as executable,
  #requirement for python to be present...
  
  stochastic_processing_spec_string = """#Condor job
  executable = ${script}
  universe       = vanilla 
  arguments = 
  transfer_input_files = ${raw_results}
  log =  results.log
  error = results.err
  output = results.out
  rank = ${rank}
  Requirements = ( OpSys == "LINUX" || OpSys=="OSX") && ( Arch=="X86_64" || Arch=="INTEL" ) && (HAS_PYTHON26 == True) && (machine != "localhost.localdomain")
  should_transfer_files = YES
  when_to_transfer_output = ON_EXIT
  queue\n"""
  
new_contents: #This file contains the outline used for creating the condor job specification files
  #Changes to requirements, etc, can be made here
  
  condor_string_header = """#Condor job
  universe       = vanilla
  """
  
  #For normal jobs. All arguments to the COPASI binary are hardcoded here
  condor_string_args = """executable = ${copasiPath}/CopasiSE.$$$$(OpSys).$$$$(Arch)
  arguments = --nologo --home . ${copasiFile} --save ${copasiFile}
  """
  
  #For raw mode. Allows for custom arguments to be added
  condor_string_no_args = """executable = ${copasiPath}/CopasiSE.${OpSys}.${Arch}
  arguments = $args
  """
  
  condor_string_body = """transfer_input_files = ${copasiFile}${otherFiles}
  log =  ${copasiFile}.log  
  error = ${copasiFile}.err
  output = ${copasiFile}.out
  rank = ${rank}
  Requirements = ( (OpSys == "WINNT61" && Arch == "INTEL" ) || (OpSys == "WINNT61" && Arch == "X86_64" ) || (Opsys == "LINUX" && Arch == "X86_64" ) || (OpSys == "OSX" && Arch == "PPC" ) || (OpSys == "OSX" && Arch == "INTEL" ) || (OpSys == "LINUX" && Arch == "INTEL" ) ) && (Memory > 0 ) && (machine != "localhost.localdomain")
  should_transfer_files = YES
  when_to_transfer_output = ON_EXIT
  queue\n"""
  
  raw_condor_job_string = condor_string_header + condor_string_args + condor_string_body
  
  raw_mode_string = condor_string_header + condor_string_no_args + condor_string_body
  
  
  
  #This spec is used for the stochastic simulation results processing task
  #Since processing for this task is quite computationally expensive, we run it
  #on Condor. A few slight differences to the usual spec, such as executable,
  #requirement for python to be present...
  
  stochastic_processing_spec_string = """#Condor job
  executable = ${script}
  universe       = vanilla 
  arguments = 
  transfer_input_files = ${raw_results}
  log =  results.log
  error = results.err
  output = results.out
  rank = ${rank}
  Requirements = ( OpSys == "LINUX" || OpSys=="OSX") && ( Arch=="X86_64" || Arch=="INTEL" ) && (machine != "localhost.localdomain")
  should_transfer_files = YES
  when_to_transfer_output = ON_EXIT
  queue\n"""
  
subject: Remove Manchester-specific condor requirement for python. Will have to assume that all unix machines have python.