File tree Expand file tree Collapse file tree 4 files changed +0
-164
lines changed Expand file tree Collapse file tree 4 files changed +0
-164
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 7
7
from aiida import orm
8
8
from aiida .common .exceptions import NotExistent
9
9
from aiida_quantumespresso .data .hubbard_structure import HubbardStructureData
10
- from aiidalab_qe .common .decorators import cache_per_thread
11
10
from aiidalab_qe .common .mvc import Model
12
11
13
12
StructureType = t .Union [orm .StructureData , HubbardStructureData ]
16
15
class HasInputStructure (tl .HasTraits ):
17
16
structure_uuid = tl .Unicode (None , allow_none = True )
18
17
19
- @cache_per_thread (invalidator = "structure_uuid" )
20
18
@property
21
19
def input_structure (self ) -> StructureType | None :
22
20
if not self .structure_uuid :
@@ -106,7 +104,6 @@ class HasProcess(tl.HasTraits):
106
104
process_uuid = tl .Unicode (None , allow_none = True )
107
105
monitor_counter = tl .Int (0 ) # used for continuous updates
108
106
109
- @cache_per_thread (invalidator = "process_uuid" )
110
107
@property
111
108
def process (self ) -> orm .WorkChainNode | None :
112
109
if not self .process_uuid :
Original file line number Diff line number Diff line change 12
12
from aiida .engine import ProcessState
13
13
from aiida .tools .graph .graph_traversers import traverse_graph
14
14
from aiidalab_qe .app .utils import get_entry_items
15
- from aiidalab_qe .common .decorators import cache_per_thread
16
15
from aiidalab_qe .common .mixins import HasProcess
17
16
from aiidalab_qe .common .mvc import Model
18
17
from aiidalab_widgets_base import LoadingWidget
@@ -164,7 +163,6 @@ def __init__(
164
163
self .on_inspect = on_inspect
165
164
super ().__init__ (** kwargs )
166
165
167
- @cache_per_thread (invalidator = "process_uuid" )
168
166
@property
169
167
def process (self ) -> ProcessNodeType | None :
170
168
if not self .process_uuid :
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments