Alpine-DAV / ascent

A flyweight in situ visualization and analysis runtime for multi-physics HPC simulations
https://alpine-dav.github.io/ascent/
Other
193 stars 66 forks source link

error not forwarded as a exception #1406

Open cyrush opened 2 hours ago

cyrush commented 2 hours ago

The following actions are malformed:

- 
  action: "add_pipelines"
  pipelines: 
    pl1: 
      f1:
- 
  action: "add_scenes"
  scenes: 
    s1: 
      plots: 
        p1: 
          type: "pseudocolor"
          field: "pl"
          pipeline: "pl1"
- 
  action: "save_info"

However the error will not trigger an exception when we try to forward:

Node opts;
opts["exceptions"]="forward";
ascent.open(opts)

This will:

Sounds like we need to check for empy pipeline

- 
  action: "add_pipelines"
  pipelines: 
    pl1: 
      f1:
         type: "garbage"
- 
  action: "add_scenes"
  scenes: 
    s1: 
      plots: 
        p1: 
          type: "pseudocolor"
          field: "pl"
          pipeline: "pl1"
- 
  action: "save_info"
cyrush commented 2 hours ago

@emily-howell -- this is the issue I mentioned in our last meeting.

emily-howell commented 1 hour ago

@cyrush Great. I will take a look at this!