Skip to content

Commit

Permalink
fixed bad parameter and added changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jrkerns committed May 7, 2015
1 parent d0390aa commit 97bc4d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ V0.5.1
- Axis limits are now tightened to the data when plotting log_analyzer.Axis data.
- Gamma map plot luminescence is now normalized to 1 and a colorbar was added.
- Bug #14 fixed, where Tlogs v3 were not loading couch information properly.
- Trajectory log .txt files now also load along with the .bin file if one is around.

Starshot
- Multiple images can now be superimposed to form one image for analysis.
Expand Down
4 changes: 2 additions & 2 deletions pylinac/log_analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,9 +517,9 @@ def _read_log(self, exclude_beam_off):
raise AttributeError('Log file has not been specified. Use load_UI() or load()')

# read log as appropriate to type
if is_tlog(self.log_type):
if is_tlog(self._filename):
self._read_tlog(exclude_beam_off)
elif is_dlog(self.log_type):
elif is_dlog(self._filename):
self._read_dlog(exclude_beam_off)

def _read_dlog(self, exclude_beam_off):
Expand Down

0 comments on commit 97bc4d8

Please sign in to comment.