Skip to content

Commit

Permalink
Fix py3 bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dkoes committed Jul 2, 2021
1 parent 2aa2a60 commit bd54584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rdconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def getRMS(mol, c1,c2):

split = os.path.splitext(output)
if split[1] == '.gz':
outf=gzip.open(output,'w+')
outf=gzip.open(output,'wt+')
output = split[0] #strip .gz
else:
outf = open(output,'w+')
Expand Down

0 comments on commit bd54584

Please sign in to comment.