SNEWS2 / snewpdag

SNEWS2 alert calculations
BSD 3-Clause "New" or "Revised" License
2 stars 13 forks source link

Check that a node doesn't observe itself #39

Closed tsengj10 closed 3 years ago

tsengj10 commented 3 years ago

@calhewitt noticed that a node could observe itself, introducing a cycle into what's supposed to be an acyclic graph. This PR adds a check in app.configure against that.

Also changed id to burst_id in Simple.py and SimpleTrials.py