Commit b859a84f authored by Patrick Shriwise's avatar Patrick Shriwise
Browse files

A couple small corrections.

parent f2552892
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -30,7 +30,6 @@ class PyGriffinConfig():
        # always read the config file,
        # even if we don't use it
        self.__config = ConfigParser()
        print("Parsing file {}".format(self._RC_FILE))
        self.__config.read(self._RC_FILE)

        # if the Griffin path parameter is set, use that
+4 −0
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@ class PyGriffin:
        self.config = PyGriffinConfig()
        self.input = input
        self.n_procs = n_procs
        self.n_threads = n_threads

    def run(self):
        """
@@ -50,6 +51,9 @@ class PyGriffin:

        return p.wait()

    def __call__(self):
        return self.run()

    @property
    def input(self):
        return self._input