diff --git a/examples/febrl/FebrlExample.py b/examples/febrl/FebrlExample.py index 8cb0178da..dd72a4f92 100644 --- a/examples/febrl/FebrlExample.py +++ b/examples/febrl/FebrlExample.py @@ -1,3 +1,4 @@ +import sys from zingg.client import * from zingg.pipes import * @@ -36,6 +37,11 @@ options = ClientOptions([ClientOptions.PHASE,"match"]) +#if one needs to pass properties-file and other command line args +# ./scripts/zingg.sh --run examples/febrl/FebrlExample.py --phase trainMatch --properties-file config/zingg.conf +# comment the above and uncomment the line below +#options = ClientOptions(sys.argv[1:]) + #Zingg execution for the given phase zingg = Zingg(args, options) zingg.initAndExecute() \ No newline at end of file diff --git a/python/zingg/client.py b/python/zingg/client.py index ca7cadfbc..6b25ad5f1 100644 --- a/python/zingg/client.py +++ b/python/zingg/client.py @@ -394,7 +394,7 @@ def setArguments(self, args): :param args: provide arguments for this class object :type args: Arguments """ - self.client.setArguments() + self.client.setArguments(args) def getArguments(self): """Method to get atguments of this class object