Commit 455420b8 authored by cmaffeo2's avatar cmaffeo2
Browse files

Move charmm files to arbdmodel. Wrap write_release_version() in try/except

parent af4b5e33
../arbdmodel/resources/charmm36.nbfix
\ No newline at end of file
......@@ -133,7 +133,10 @@ def get_version(abbrev=7):
# RELEASE-VERSION file, update the file to be current.
if version != release_version:
write_release_version(version)
try:
write_release_version(version)
except:
print("Warning: unable to write/update release file {}".format(_version_file))
finally:
os.chdir(old_wd)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment