ovilab / atomify

Atomify - a realtime LAMMPS visualizer
GNU General Public License v3.0
151 stars 21 forks source link

Some variables appear as having circular dependency when that's not true #346

Closed andeplane closed 7 years ago

andeplane commented 7 years ago

I'll work on a reproducible example (I've seen this many times).

andeplane commented 7 years ago

I can't reproduce it now, but once I can I'll add an example.

andeplane commented 7 years ago

If we have a region called boxinside (diffusion example), this command reproduces the error: variable myCount equal count(boxinside)

Edit: turns out it isn't that simple. The problem was a character we couldn't see...

andeplane commented 7 years ago

The problem occurs if the variable is invalid (invalid expression etc), and we catch a general exception which normally should go all the way back to the LAMMPSController exception handler.