Menu

#854 events files can contain color names

closed-fixed
nobody
None
5
2025-10-22
2025-09-06
No

I noticed about a week ago that events files were no longer reading in with the colors. This was due to the header being treated as a record. As a part of this process, I made it so that color names could be used in files, thinking that the required 0x00FF00 is opaque anyway, and "green" would be a better label to have in there.

Discussion

  • Jeremy Faden

    Jeremy Faden - 2025-09-06

    So this reads now (https://jfaden.net/~jbf/autoplot/data/dat/eventsList2.csv):

    "Time (UTC)","StopTime (UTC)","Color","Event"
    2020-01-01T00:00:00.000Z,2020-01-02T00:00:00.000Z,goldenrod,sc1_mode1
    2020-01-02T00:00:00.000Z,2020-01-03T00:00:00.000Z,khaki,sc1_mode1
    2020-01-03T00:00:00.000Z,2020-01-04T00:00:00.000Z,green,sc1_mode2
    2020-01-05T00:00:00.000Z,2020-01-06T00:00:00.000Z,khaki,sc2_mode1
    
     

    Last edit: Jeremy Faden 2025-09-06
  • Jeremy Faden

    Jeremy Faden - 2025-10-22
    • status: open --> closed-fixed
     
  • Jeremy Faden

    Jeremy Faden - 2025-10-22

    This was done a while ago.

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.