@@ -1213,7 +1213,7 @@ def get_species(path,adsorbates_path,metal,facet,slab,sites,site_adjacency,nslab
12131213 spc = SurfaceConfiguration (atoms ,slab ,admol ,vibdata ,name ,metal ,facet ,is_TS = False ,sites_per_cell = 1 ,
12141214 c_ref = c_ref ,o_ref = o_ref ,h_ref = h_ref ,n_ref = n_ref ,valid = valid )
12151215 spc .run ()
1216- except ValueError :
1216+ except ( ValueError , AtomTypeError ) :
12171217 spc = None
12181218 else :
12191219 try :
@@ -1330,7 +1330,7 @@ def get_TS(path,adsorbates_path,metal,facet,slab,sites,site_adjacency,nslab,c_re
13301330 spc .run ()
13311331
13321332 ts_dict [k ] = spc
1333- except (SiteOccupationException ,TooManyElectronsException ,ValueError ):
1333+ except (SiteOccupationException ,TooManyElectronsException ,ValueError , AtomTypeError ):
13341334 spc = SurfaceConfiguration (atoms ,slab ,None ,vibdata ,os .path .split (path )[1 ],metal ,facet ,is_TS = True ,sites_per_cell = 1 ,
13351335 c_ref = c_ref ,o_ref = o_ref ,h_ref = h_ref ,n_ref = n_ref ,valid = valid ,valid_info = vinfo ,mol = target_TS )
13361336
0 commit comments