Skip to content

Commit

Permalink
Update tmprep.py
Browse files Browse the repository at this point in the history
  • Loading branch information
fabothch authored May 27, 2021
1 parent 73e3288 commit e561b33
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tmprep.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
version = "0.1.4"

def read_chrg(default=0):
# READ .CHRG .UHF
# READ .CHRG
chrg_path = os.path.join(os.getcwd(), '.CHRG')
if os.path.isfile(chrg_path):
with open(chrg_path, 'r') as inp:
Expand All @@ -53,6 +53,7 @@ def read_chrg(default=0):
return charge

def read_uhf(default=0):
# READ .UHF
uhf_path = os.path.join(os.getcwd(), '.UHF')
if os.path.isfile(uhf_path):
with open(uhf_path, 'r') as inp:
Expand All @@ -66,6 +67,7 @@ def read_uhf(default=0):
return unpaired

def read_sym(default=None):
# READ .SYM
sym_path = os.path.join(os.getcwd(), '.SYM')
if os.path.isfile(sym_path):
with open(sym_path, 'r') as inp:
Expand Down

0 comments on commit e561b33

Please sign in to comment.