original_docstring:  It's a hassle passing parameters through pytest.  Hack
          around for now by loading from a file of key/value pairs. 
docstring: It's a hassle passing parameters through pytest.  Hack
  around for now by loading from a file of key/value pairs.
docstring_tokens: It ' s a hassle passing parameters through pytest . Hack around for now by loading from a file of key / value pairs .
code: def loadCFG(self):
          """ It's a hassle passing parameters through pytest.  Hack
          around for now by loading from a file of key/value pairs. """
          if os.path.isfile('vgci_cfg.tsv'):
              with io.open('vgci_cfg.tsv', 'r', encoding='utf8') as f:
                  for line in f:
                      toks = line.split()
                      if len(toks) == 2 and toks[0][0] != '#':
                          # override vg docker (which defaults to value from vg_config.py)
                          if toks[0] == 'vg-docker-version':
                              self.vg_docker = toks[1]
                          # can use "Docker", "Singularity" or "None" (the string) as a container system
                          if toks[0] == 'container':
                              self.container = toks[1]
                          # dont verify output.  tests will pass if they dont crash or timeout
                          elif toks[0] == 'verify' and toks[1].lower() == 'false':
                              self.verify = False
                          # dont delete the working directory
                          elif toks[0] == 'teardown' and toks[1].lower() == 'false':
                              self.do_teardown = False
                          # override the working directory (defaults to temp)
                          elif toks[0] == 'workdir':
                              self.workdir = toks[1]
                          elif toks[0] == 'baseline':
                              self.baseline = toks[1]
                          elif toks[0] == 'cores':
                              self.cores = int(toks[1])
                          elif toks[0] == 'force_outstore' and toks[1].lower() == 'true':
                              self.force_outstore = True
code_tokens: def loadCFG ( self ) : if os . path . isfile ( 'vgci_cfg.tsv' ) : with io . open ( 'vgci_cfg.tsv' , 'r' , encoding = 'utf8' ) as f : for line in f : toks = line . split ( ) if len ( toks ) == 2 and toks [ 0 ] [ 0 ] != '#' : if toks [ 0 ] == 'vg-docker-version' : self . vg_docker = toks [ 1 ] if toks [ 0 ] == 'container' : self . container = toks [ 1 ] elif toks [ 0 ] == 'verify' and toks [ 1 ] . lower ( ) == 'false' : self . verify = False elif toks [ 0 ] == 'teardown' and toks [ 1 ] . lower ( ) == 'false' : self . do_teardown = False elif toks [ 0 ] == 'workdir' : self . workdir = toks [ 1 ] elif toks [ 0 ] == 'baseline' : self . baseline = toks [ 1 ] elif toks [ 0 ] == 'cores' : self . cores = int ( toks [ 1 ] ) elif toks [ 0 ] == 'force_outstore' and toks [ 1 ] . lower ( ) == 'true' : self . force_outstore = True
short_docstring: It's a hassle passing parameters through pytest.
short_docstring_tokens: It ' s a hassle passing parameters through pytest .
comment: """ It's a hassle passing parameters through pytest.  Hack
          around for now by loading from a file of key/value pairs. """$SEP$# override vg docker (which defaults to value from vg_config.py)$SEP$# can use "Docker", "Singularity" or "None" (the string) as a container system$SEP$# dont verify output.  tests will pass if they dont crash or timeout$SEP$# dont delete the working directory$SEP$# override the working directory (defaults to temp)