Skip to content

Commit ab998cf

Browse files
committed
moved default_incore_adapters from common.py to settings.py
1 parent e11aa5e commit ab998cf

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

arc/job/adapters/common.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,6 @@
6969
all_families_ts_adapters = []
7070

7171

72-
# Default is "queue", "pipe" will be called whenever needed. So just list 'incore'.
73-
default_incore_adapters = ['autotst', 'gcn', 'heuristics', 'kinbot', 'psi4']
74-
75-
7672
def is_restricted(obj) -> bool:
7773
"""
7874
Check whether a Job Adapter should be executed as restricted or unrestricted.

arc/scheduler.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
TrshError,
3333
)
3434
from arc.imports import settings
35-
from arc.job.adapters.common import all_families_ts_adapters, default_incore_adapters, ts_adapters_by_rmg_family
35+
from arc.job.adapters.common import all_families_ts_adapters, ts_adapters_by_rmg_family
3636
from arc.job.factory import job_factory
3737
from arc.job.local import check_running_jobs_ids
3838
from arc.job.ssh import SSHClient
@@ -54,6 +54,7 @@
5454
xyz_to_coords_list,
5555
xyz_to_str,
5656
)
57+
from arc.settings.settings import default_incore_adapters
5758
import arc.rmgdb as rmgdb
5859
from arc.species.vectors import get_angle, calculate_dihedral_angle
5960

arc/settings/settings.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,3 +260,6 @@
260260
if os.path.isfile(arc_pypath):
261261
ARC_PYTHON = arc_pypath
262262
break
263+
264+
# Default is "queue", "pipe" will be called whenever needed. So just list 'incore'.
265+
default_incore_adapters = ['autotst', 'gcn', 'heuristics', 'kinbot', 'psi4']

0 commit comments

Comments
 (0)