original_docstring: Run the `MatdynBaseWorkChain` for a previously completed `Q2rCalculation`.
docstring: Run the `MatdynBaseWorkChain` for a previously completed `Q2rCalculation`.
docstring_tokens: Run the ` MatdynBaseWorkChain ` for a previously completed ` Q2rCalculation ` .
code: def launch_workflow(
      code, datum, kpoints_mesh, clean_workdir, max_num_machines, max_wallclock_seconds, with_mpi, daemon
  ):
      """Run the `MatdynBaseWorkChain` for a previously completed `Q2rCalculation`."""
      from aiida.orm import Bool
      from aiida.plugins import WorkflowFactory
      from aiida_quantumespresso.utils.resources import get_default_options
  
      inputs = {
          'matdyn': {
              'code': code,
              'kpoints': kpoints_mesh,
              'force_constants': datum,
              'metadata': {
                  'options': get_default_options(max_num_machines, max_wallclock_seconds, with_mpi),
              }
          }
      }
  
      if clean_workdir:
          inputs['clean_workdir'] = Bool(True)
  
      launch.launch_process(WorkflowFactory('quantumespresso.matdyn.base'), daemon, **inputs)
code_tokens: def launch_workflow ( code , datum , kpoints_mesh , clean_workdir , max_num_machines , max_wallclock_seconds , with_mpi , daemon ) : from aiida . orm import Bool from aiida . plugins import WorkflowFactory from aiida_quantumespresso . utils . resources import get_default_options inputs = { 'matdyn' : { 'code' : code , 'kpoints' : kpoints_mesh , 'force_constants' : datum , 'metadata' : { 'options' : get_default_options ( max_num_machines , max_wallclock_seconds , with_mpi ) , } } } if clean_workdir : inputs [ 'clean_workdir' ] = Bool ( True ) launch . launch_process ( WorkflowFactory ( 'quantumespresso.matdyn.base' ) , daemon , ** inputs )
short_docstring: Run the `MatdynBaseWorkChain` for a previously completed `Q2rCalculation`.
short_docstring_tokens: Run the ` MatdynBaseWorkChain ` for a previously completed ` Q2rCalculation ` .
comment: """Run the `MatdynBaseWorkChain` for a previously completed `Q2rCalculation`."""