Uploaded image for project: 'Barna Package'
  1. Barna Package
  2. BARNA-233

JSAPResult workaround for using command line arguments as a alternative to parameter files

    XMLWordPrintable

Details

    Description

      Currently I need 2 checks for pulling parameter values either from the command line or from a parameter file. Can we simplify that somehow?

      Example:

      if (args.userSpecified(AStalavistaSettings.GEN_DIR.getName())||
      args.userSpecified(AStalavistaSettings.GEN_DIR.getLongOption()))

      { // acceptableIntrons= true; if (args.userSpecified(AStalavistaSettings.GEN_DIR.getName())) Graph.overrideSequenceDirPath= args.getFile(AStalavistaSettings.GEN_DIR.getName()).getAbsolutePath(); else Graph.overrideSequenceDirPath= args.getFile(AStalavistaSettings.GEN_DIR.getLongOption()).getAbsolutePath(); }

      Attachments

        Activity

          People

            micha Micha Sammeth
            micha Micha Sammeth
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: