Skip to content

Find-and-load-one crashes

Input > %find {'tags': {'~metal': 'Pd', '~Hsub': 3}} load one

If there are no matches, the session crashes with:

Traceback (most recent call last):
  File "jupyter-base-2025-01-14/lib64/python3.9/site-packages/virtmat/language/utilities/errors.py", line 306, in wrapper
    return func(*args, **kwargs)
  File "jupyter-base-2025-01-14/lib64/python3.9/site-packages/virtmat/language/interpreter/session_manager.py", line 245, in process_magic
    self.switch_model(wf_uuids[0])
IndexError: list index out of range