Beispiel #1
0
  # If we are only claculation translation, we swich on translation calculation
  if o.onlyTrans and not o.translation:
    o.translation = True

  # Split the comma seperated list into a list of integers
  if args['removeModels'] != "":
    o.remove     = list(map(int, args['removeModels'].split(',')))
  else:
    o.remove     = []

  o.fragSize   = fragSize

  o.verbose     = args['verbose']
  o.keepTemp    = args['keepTempFiles']
  o.sdfPartial  = sdf_partial_fragments

  if not o.verbose:
    o.verbose = 0

  # Checking paths
  if o.inData == "":
    checkPathExists(o.exePath)
    checkPathExists(args['in'])
    if not o.skipREMO:
      checkPathExists(path.join(o.REMOPath, 'REMO.pl'))
    checkPathExists(o.tmpPath)
  else:
    checkPathExists(o.inData)