Révision a5f73b4c modules/calculation.py

b/modules/calculation.py
40 40
                       "the 'COORD_FILE_NAME' variable is created and older "
41 41
                       "file is backed up with the following name:")
42 42
        force_eval.SUBSYS.TOPOLOGY.Coord_file_name = 'coord.xyz'
43

  
44 43
        check_bak(inp_file)
45 44
        cp2k.write_input_file(inp_file)
46 45

  
......
123 122
                f"{inp_vars['batch_q_sys']}")
124 123
    check_bak(run_type)
125 124
    os.mkdir(run_type)
126
    if run_type == 'isolated':
127
        if inp_vars['code'] == 'cp2k':
128
            prep_cp2k(inp_vars['isol_inp_file'], run_type, atms_list)
129
        # elif: inp_vars['code'] == 'Other codes here'
130
    # elif run_type == 'screening':
131
    # elif run_type == 'refinement':
125
    if inp_vars['code'] == 'cp2k':
126
        prep_cp2k(inp_vars['isol_inp_file'], run_type, atms_list)
127
    # elif: inp_vars['code'] == 'Other codes here'
132 128

  
133 129
    submit(run_type, inp_vars['batch_q_sys'], inp_vars['subm_script'],
134 130
           inp_vars['max_qw'], inp_vars['project_name'])

Formats disponibles : Unified diff