Menu

#2813 PWD is not set properly when holding shift to see the parameters GUI in the script editor

nextrelease
open-fixed
nobody
None
5
2026-03-20
2026-03-19
No

PWD is not set properly when holding shift to see the parameters GUI in the script editor:

setScriptDescription('make xml file describing .csv file')

from org.das2.util import LoggerManager
from org.das2.util import FileUtil
from java.io import File

logger= LoggerManager.getLogger( 'script.makeCollectionBrowseXML' )
from java.util.logging import Level

stopYYYY_MM_DD= FileUtil.readFileToString(File(URL(PWD).path + 'pubDate.txt'))

stopYYYYMMDD= stopYYYY_MM_DD[0:4] + stopYYYY_MM_DD[5:7] + stopYYYY_MM_DD[8:10] 

modDate= stopYYYY_MM_DD

sc= getParam( 'sc', 1, 'Voyager S/C', [1,2] )

Discussion

  • Jeremy Faden

    Jeremy Faden - 2026-03-19

    The dom and PWD are now set properly. The line with

    stopYYYYMMDD=stopYYYYMMDD[0:4]+stopYYYYMMDD[5:7] +...
    

    is properly omitted now. See v2026a_3 and newer.

     

    Last edit: Jeremy Faden 2026-03-19
  • Jeremy Faden

    Jeremy Faden - 2026-03-20
    • status: open --> open-fixed
     
MongoDB Logo MongoDB