original_docstring: Fills in config params from metadata DB and ENA, enabling later parts of pipeline to run.
docstring: Fills in config params from metadata DB and ENA, enabling later parts of pipeline to run.
docstring_tokens: Fills in config params from metadata DB and ENA enabling later parts of pipeline to run .
code: def fill_in_config(self, force_config=False):
          """Fills in config params from metadata DB and ENA, enabling later parts of pipeline to run."""
          if not self.eload_cfg.is_empty() and not force_config:
              self.error(f'Already found a config file for {self.eload} while running backlog preparation')
              self.error('Please remove the existing config file and try again.')
              raise ValueError(f'Already found a config file for {self.eload} while running backlog preparation')
          elif not self.eload_cfg.is_empty():
              # backup the previous config and remove the existing content
              self.eload_cfg.backup()
              self.eload_cfg.clear()
          self.eload_cfg.set('brokering', 'ena', 'PROJECT', value=self.project_accession)
          self.get_analysis_info()
          self.get_species_info()
          self.update_config_with_hold_date(self.project_accession, self.project_alias)
          self.eload_cfg.write()
code_tokens: def fill_in_config ( self , force_config = False ) : if not self . eload_cfg . is_empty ( ) and not force_config : self . error ( f'Already found a config file for {self.eload} while running backlog preparation' ) self . error ( 'Please remove the existing config file and try again.' ) raise ValueError ( f'Already found a config file for {self.eload} while running backlog preparation' ) elif not self . eload_cfg . is_empty ( ) : self . eload_cfg . backup ( ) self . eload_cfg . clear ( ) self . eload_cfg . set ( 'brokering' , 'ena' , 'PROJECT' , value = self . project_accession ) self . get_analysis_info ( ) self . get_species_info ( ) self . update_config_with_hold_date ( self . project_accession , self . project_alias ) self . eload_cfg . write ( )
short_docstring: Fills in config params from metadata DB and ENA, enabling later parts of pipeline to run.
short_docstring_tokens: Fills in config params from metadata DB and ENA enabling later parts of pipeline to run .
comment: """Fills in config params from metadata DB and ENA, enabling later parts of pipeline to run."""$SEP$# backup the previous config and remove the existing content