old_contents: import spat_community_generation as sg
  import sys
  
  Svals = [10, 11, 13, 14, 16, 18, 21, 23, 26, 30, 34, 38, 43, 48, 55, 62, 70,    
           78, 89, 100]    
  
  Nvals = [120, 186, 289, 447, 694, 1076, 1668, 2587, 4011, 6220, 9646, 14957,    
           23193, 35965, 55769, 86479, 134099, 207941, 322444, 500000]    
  
  if len(sys.argv) > 1:
      Sindex  = int(sys.argv[1]) 
      Svals = Svals[Sindex]
  
  sg.explore_parameter_space(Svals, Nvals, 200, 12)
  
new_contents: import spat_community_generation as sg
  import sys
  
  Svals = [10, 11, 13, 14, 16, 18, 21, 23, 26, 30, 34, 38, 43, 48, 55, 62, 70,    
           78, 89, 100]    
  
  Nvals = [120, 186, 289, 447, 694, 1076, 1668, 2587, 4011, 6220, 9646, 14957,    
           23193, 35965, 55769, 86479, 134099, 207941, 322444, 500000]    
  
  if len(sys.argv) > 1:
      Sindex  = int(sys.argv[1]) 
      Svals = [Svals[Sindex]]
  
  sg.explore_parameter_space(Svals, Nvals, 200, 12)
  
subject: Change to ensure that the Svals were handled as a list