def run_primlist(self, primlist, skip_remaining=False):
runlist = self.open_primlist(primlist)<EOL>for index, run in enumerate(runlist):<EOL><INDENT>logging.info('<STR_LIT>', index + <NUM_LIT:1>, len(runlist))<EOL>join = self.run_run(run, use_thread=True)<EOL>status = join()<EOL>if skip_remaining and not status == run_status.finished:<EOL><INDENT>logging.error('<STR_LIT>', run.run_number, status)<EOL>break<EOL><DEDENT><DEDENT>
Runs runs from a primlist.

        Parameters
        ----------
        primlist : string
            Filename of primlist.
        skip_remaining : bool
            If True, skip remaining runs, if a run does not exit with status FINISHED.

        Note
        ----
        Primlist is a text file of the following format (comment line by adding '#'):
        <module name (containing class) or class (in either case use dot notation)>; <scan parameter>=<value>; <another scan parameter>=<another value>