From ca0956eb22362db0e4c731065faa14a7b5e388bf 2015-12-30 18:12:52 From: Miguel Valdez Date: 2015-12-30 18:12:52 Subject: [PATCH] Feature added to jroproc_voltage.ProfileSelector(): rangeList replaces to profileRangeList. This parameter will be eliminated in future versions. --- diff --git a/schainpy/model/proc/jroproc_voltage.py b/schainpy/model/proc/jroproc_voltage.py index 501d32b..c97643a 100644 --- a/schainpy/model/proc/jroproc_voltage.py +++ b/schainpy/model/proc/jroproc_voltage.py @@ -808,7 +808,11 @@ class ProfileSelector(Operation): rangeList : List of profile ranges. Example: rangeList = ((4, 30), (32, 64), (128, 256)) """ - + + if rangeList is not None: + if type(rangeList[0]) not in (tuple, list): + rangeList = [rangeList] + dataOut.flagNoData = True if dataOut.flagDataAsBlock: