@@ -130,7 +130,7 @@ def get_terms_with_characteristics(parent_ids, characteristic_ids=None):
130
130
return terms
131
131
132
132
133
- @ functools .lru_cache (maxsize = None )
133
+ @functools .lru_cache (maxsize = None )
134
134
def get_ode_algorithms ():
135
135
""" Get the terms for ODE integration algorithms::
136
136
@@ -142,7 +142,7 @@ def get_ode_algorithms():
142
142
return get_terms_with_characteristics ([ID_ALGORITHM ], [ID_ODE_PROBLEM_CHARACTERISTIC ])
143
143
144
144
145
- @ functools .lru_cache (maxsize = None )
145
+ @functools .lru_cache (maxsize = None )
146
146
def get_dae_algorithms ():
147
147
""" Get the terms for DAE integration algorithms::
148
148
@@ -154,7 +154,7 @@ def get_dae_algorithms():
154
154
return get_terms_with_characteristics ([ID_ALGORITHM ], [ID_DAE_PROBLEM_CHARACTERISTIC ])
155
155
156
156
157
- @ functools .lru_cache (maxsize = None )
157
+ @functools .lru_cache (maxsize = None )
158
158
def get_gillespie_like_algorithms (exact = True , approximate = False ):
159
159
""" Get the terms for algorithms that execute similar simulations to Gillespie's
160
160
algorithm (KISAO_0000029).
@@ -189,7 +189,7 @@ def get_gillespie_like_algorithms(exact=True, approximate=False):
189
189
return get_terms_with_characteristics ([ID_GILLESPIE_LIKE_ALGORITHM ], characteristics )
190
190
191
191
192
- @ functools .lru_cache (maxsize = None )
192
+ @functools .lru_cache (maxsize = None )
193
193
def get_tau_leaping_algorithms ():
194
194
""" Get the terms for tau-leaping algorithms (KISAO_0000039).::
195
195
@@ -201,7 +201,7 @@ def get_tau_leaping_algorithms():
201
201
return get_terms_with_characteristics ([ID_TAU_LEAPING_ALGORITHM ])
202
202
203
203
204
- @ functools .lru_cache (maxsize = None )
204
+ @functools .lru_cache (maxsize = None )
205
205
def get_rule_based_algorithms ():
206
206
""" Get the terms for rule-based simulation algorithms (KISAO_0000363).::
207
207
@@ -213,7 +213,7 @@ def get_rule_based_algorithms():
213
213
return get_terms_with_characteristics ([ID_RULE_BASED_ALGORITHM ])
214
214
215
215
216
- @ functools .lru_cache (maxsize = None )
216
+ @functools .lru_cache (maxsize = None )
217
217
def get_sde_algorithms ():
218
218
""" Get the terms for rule-based simulation algorithms (KISAO_0000363).::
219
219
@@ -225,7 +225,7 @@ def get_sde_algorithms():
225
225
return get_terms_with_characteristics ([ID_ALGORITHM ], [ID_SDE_PROBLEM_CHARACTERISTIC ])
226
226
227
227
228
- @ functools .lru_cache (maxsize = None )
228
+ @functools .lru_cache (maxsize = None )
229
229
def get_steadystate_algorithms ():
230
230
""" Get the terms for rule-based simulation algorithms (KISAO_0000363).::
231
231
@@ -237,7 +237,7 @@ def get_steadystate_algorithms():
237
237
return get_terms_with_characteristics ([ID_ALGORITHM ], [ID_STEADYSTATE_PROBLEM_CHARACTERISTIC ])
238
238
239
239
240
- @ functools .lru_cache (maxsize = None )
240
+ @functools .lru_cache (maxsize = None )
241
241
def get_pde_algorithms ():
242
242
""" Get the terms for rule-based simulation algorithms (KISAO_0000363).::
243
243
@@ -249,7 +249,7 @@ def get_pde_algorithms():
249
249
return get_terms_with_characteristics ([ID_ALGORITHM ], [ID_PDE_PROBLEM_CHARACTERISTIC ])
250
250
251
251
252
- @ functools .lru_cache (maxsize = None )
252
+ @functools .lru_cache (maxsize = None )
253
253
def get_flux_balance_algorithms ():
254
254
""" Get the terms for flux balance algorithms (KISAO_0000622).::
255
255
@@ -261,7 +261,7 @@ def get_flux_balance_algorithms():
261
261
return get_terms_with_characteristics ([ID_FLUX_BALANCE_ALGORITHM ])
262
262
263
263
264
- @ functools .lru_cache (maxsize = None )
264
+ @functools .lru_cache (maxsize = None )
265
265
def get_logical_simulation_algorithms ():
266
266
""" Get the terms for logical simulation algorithms (KISAO_0000448).::
267
267
@@ -273,7 +273,7 @@ def get_logical_simulation_algorithms():
273
273
return get_terms_with_characteristics ([ID_LOGICAL_SIMULATION_ALGORITHM ])
274
274
275
275
276
- @ functools .lru_cache (maxsize = None )
276
+ @functools .lru_cache (maxsize = None )
277
277
def get_logical_stable_state_search_algorithms ():
278
278
""" Get the terms for algorithms for finding the stable states of logical models (KISAO_0000660).::
279
279
@@ -285,7 +285,7 @@ def get_logical_stable_state_search_algorithms():
285
285
return get_terms_with_characteristics ([ID_LOGICAL_STABLE_STATE_SEARCH_ALGORITHM ])
286
286
287
287
288
- @ functools .lru_cache (maxsize = None )
288
+ @functools .lru_cache (maxsize = None )
289
289
def get_logical_trap_space_search_algorithms ():
290
290
""" Get the terms for algorithms for finding the trap spaces of logical models (KISAO_0000661).::
291
291
@@ -297,7 +297,7 @@ def get_logical_trap_space_search_algorithms():
297
297
return get_terms_with_characteristics ([ID_LOGICAL_TRAP_SPACE_SEARCH_ALGORITHM ])
298
298
299
299
300
- @ functools .lru_cache (maxsize = None )
300
+ @functools .lru_cache (maxsize = None )
301
301
def get_hybrid_algorithms ():
302
302
""" Get the terms for hybrid algorithms (KISAO_0000352).::
303
303
@@ -309,7 +309,7 @@ def get_hybrid_algorithms():
309
309
return get_terms_with_characteristics ([ID_HYBRID_ALGORITHM ])
310
310
311
311
312
- @ functools .lru_cache (maxsize = None )
312
+ @functools .lru_cache (maxsize = None )
313
313
def get_parents_and_children_of (term ):
314
314
""" Get the parents and children of the given term.::
315
315
0 commit comments