Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
eimrek committed Aug 10, 2019
1 parent def390d commit 1bd53e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions common.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
'O' :{'basis' : 'TZV2P-MOLOPT-GTH' , 'pseudo' : 'GTH-PBE-q6' },
'Pd':{'basis' : 'DZVP-MOLOPT-SR-GTH', 'pseudo' : 'GTH-PBE-q18'},
'S' :{'basis' : 'TZV2P-MOLOPT-GTH' , 'pseudo' : 'GTH-PBE-q6' },
'Zn':{'basis' : 'DZVP-MOLOPT-SR-GTH', 'pseudo' : 'GTH-PBE-q12'},
}

### ----------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion orb/submit_orb.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@
" if len(structure_node.get_inputs()) > 0:\n",
" geo_opt_calc = structure_node.get_inputs()[0]\n",
" geo_comp = geo_opt_calc.get_computer()\n",
" if geo_comp.hostname == current_hostname:\n",
" if geo_comp is not None and geo_comp.hostname == current_hostname:\n",
" wfn_path = geo_opt_calc.out.remote_folder.get_remote_path() + \"/aiida-RESTART.wfn\"\n",
" # check if it exists\n",
" file_exists = ! ssh {current_hostname} \"if [ -f {wfn_path} ]; then echo 1 ; else echo 0 ; fi\"\n",
Expand Down

0 comments on commit 1bd53e7

Please sign in to comment.