Menu

#2831 Jython trace mode when triple quotes are used

nextrelease
open-fixed
nobody
None
5
1 day ago
3 days ago
No

I find I cannot run the trace mode when triple-quotes are used for a string:

from org.das2.dataset import NoDataInIntervalException
from org.das2.qds.examples import Schemes
from org.das2.qds.util import FFTUtil

setScriptDescription('''Loads TRACERS MSC data and applies a calibration to it.  This is
not verified and should not be used for production use (at the moment).''')

tr= getParam( 'timerange', '2025-09-27+12:00:00+to+13:00:00', 'timerange to load' )
result= None

Discussion

  • Jeremy Faden

    Jeremy Faden - 1 day ago

    When looking at the AST objects, this is fixed by looking for an expr within a statement, and checking the expression's beginline.

     
  • Jeremy Faden

    Jeremy Faden - 1 day ago
    • status: open --> open-fixed
     
MongoDB Logo MongoDB