Skip to content

Commit

Permalink
Ignoring some Ruff errors
Browse files Browse the repository at this point in the history
  • Loading branch information
YHordijk committed Jul 18, 2024
1 parent 5c06ffd commit 4917494
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/tcutility/results/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,16 +105,13 @@ def read(calc_dir: Union[str, pl.Path]) -> Result:
elif ret.engine == "orca":
try:
ret.orca = orca.get_calc_settings(ret)
except:
except: # noqa
ret.orca = None
# print('Error reading:', calc_dir)
# raise

try:
ret.properties = orca.get_properties(ret)
except:
except: # noqa
ret.properties = None
# print('Error reading:', calc_dir)
# raise

# unload cached KFReaders associated with this calc_dir
to_delete = [key for key in cache._cache if key.startswith(os.path.abspath(calc_dir))]
Expand Down

0 comments on commit 4917494

Please sign in to comment.