Skip to content

Commit

Permalink
Merge pull request #12 from jhamman/hotfix/0.0.4
Browse files Browse the repository at this point in the history
fix bug in read_forcing.py that failed to read last yearlty forcing file...
  • Loading branch information
Joe Hamman committed Apr 14, 2014
2 parents ae31090 + 139f474 commit 61a8d8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rvic/read_forcing.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def __init__(self, path, file_str, time_fld, liq_flds,

# yearly files
elif len(start) == 1:
for year in xrange(start[0], end[0]):
for year in xrange(start[0], end[0]+1):
self.files.append(os.path.join(self.path,
file_str.replace('$YYYY',
"{0:04d}".format(year))))
Expand Down

0 comments on commit 61a8d8a

Please sign in to comment.