Skip to content

Commit

Permalink
And back again :)
Browse files Browse the repository at this point in the history
  • Loading branch information
fluthi committed Aug 16, 2018
1 parent df4e375 commit c6f3b4a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions pycqed/analysis_v2/base_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,6 @@ 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
2 changes: 1 addition & 1 deletion pycqed/analysis_v2/spectroscopy_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Spectroscopy(ba.BaseDataAnalysis):
def __init__(self, t_start: str,
t_stop: str = None,
options_dict: dict = None,
label: str = None,
label: str = '',
extract_only: bool = False,
auto: bool = True,
do_fitting: bool = False):
Expand Down

0 comments on commit c6f3b4a

Please sign in to comment.