Menu

#2556 two issues pointed out by Sadie -- eval and waveform dataset with time units

nextrelease
open-fixed
nobody
None
5
2023-11-29
2023-10-24
No

Sadie has had a couple of nice problems recently, and I don't want to loose track of them so I'll drop them in here.

  • [ ] (1) eval in a script was causing problems with the getParameters logic, preventing the script from running.
  • [ ] (2) a waveform dataset with the dependent data having time units causes problems in the metadata tab.

Discussion

  • Jeremy Faden

    Jeremy Faden - 2023-10-24

    The eval script is at sftp://jfaden.net/home/jbf/ct/autoplot/u/2023/sadie/20231024/psp_filterbank_v2_test.jy

    1. load the script into the editor.
    2. run the script. It will run for a while then crash with a syntax error.
    3. when the eval statement is commented out, the script will run properly.

    See also rte_1296920046_*.sadie*.xml

     

    Last edit: Jeremy Faden 2023-10-24
  • Jeremy Faden

    Jeremy Faden - 2023-10-24
     
  • Jeremy Faden

    Jeremy Faden - 2023-10-24

    Item 1, is done. There was a bug in the script's eval string, and in how the editor annotations (red squigglys) were drawn, where "<string>" would draw on the code which has a filename associated with it. As a rule, it's better to not show an annotation than to show an incorrect annotation.</string>

     

    Last edit: Jeremy Faden 2023-10-24
  • Jeremy Faden

    Jeremy Faden - 2023-10-24

    Item 2 is fixed. There was code which assumed a cadence in the offsets implied time location units, but seconds will also have offset units of seconds.

    The next devel release will have these changes.

     
  • Jeremy Faden

    Jeremy Faden - 2023-10-24
    • status: open --> open-fixed
     
  • Jeremy Faden

    Jeremy Faden - 2023-11-29

    I made it so that a squiggly is drawn again, but since it's not clear that it is correct, it's a purple squiggly.

     
MongoDB Logo MongoDB