But how to loop over the input conf file vale? In other word, how to know
how many command option the fileConf provides?


On Sat, Nov 16, 2013 at 7:17 PM, Jake Biesinger <notifications@github.com>wrote:

> In
> genomix/genomix-driver/src/main/java/edu/uci/ics/genomix/driver/GenomixDriver.java:
>
> > @@ -325,6 +341,13 @@ public static void main(String[] args) throws NumberFormatException, HyracksExce
> >          GenomixJobConf conf;
> >          try {
> >              conf = GenomixJobConf.fromArguments(args);
> > +            String pathToConf = conf.get(GenomixJobConf.CONF_INPUT);
>
> I would personally prefer if the command-line options had priority over
> anything else. You could do that by making the loop create new conf's and
> using conf.setIfUnset(fileConf.get(...)) instead of addResource(file).
> It's more code but I think the behavior would be better.
>
> And actually, I think most people would expect the first file they
> specified to take the next priority. That's the opposite behavior to what
> you have but all you've need to do is iterate over those ,-separated
> lists in reverse order to achieve the right effect.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/uci-cbcl/genomix/pull/61/files#r7711484>
> .
>



-- 
Best Regards,

Anbang Xu