Skip to content

Commit

Permalink
Changing back the if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
fluthi committed Aug 16, 2018
1 parent d1d6dc1 commit df4e375
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pycqed/analysis_v2/base_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ def __init__(self, t_start: str = None, t_stop: str = None,
# These options determine what data to extract #
################################################
scan_label = self.options_dict.get('scan_label', label)
if scan_label is None:
scan_label = ''
if type(scan_label) is not list:
self.labels = [scan_label]
else:
Expand Down

0 comments on commit df4e375

Please sign in to comment.