Skip to content

Commit

Permalink
moved default_incore_adapters from common.py to settings.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kfir4444 committed Jul 6, 2022
1 parent e11aa5e commit ab998cf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 0 additions & 4 deletions arc/job/adapters/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,6 @@
all_families_ts_adapters = []


# Default is "queue", "pipe" will be called whenever needed. So just list 'incore'.
default_incore_adapters = ['autotst', 'gcn', 'heuristics', 'kinbot', 'psi4']


def is_restricted(obj) -> bool:
"""
Check whether a Job Adapter should be executed as restricted or unrestricted.
Expand Down
3 changes: 2 additions & 1 deletion arc/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
TrshError,
)
from arc.imports import settings
from arc.job.adapters.common import all_families_ts_adapters, default_incore_adapters, ts_adapters_by_rmg_family
from arc.job.adapters.common import all_families_ts_adapters, ts_adapters_by_rmg_family
from arc.job.factory import job_factory
from arc.job.local import check_running_jobs_ids
from arc.job.ssh import SSHClient
Expand All @@ -54,6 +54,7 @@
xyz_to_coords_list,
xyz_to_str,
)
from arc.settings.settings import default_incore_adapters
import arc.rmgdb as rmgdb
from arc.species.vectors import get_angle, calculate_dihedral_angle

Expand Down
3 changes: 3 additions & 0 deletions arc/settings/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,3 +260,6 @@
if os.path.isfile(arc_pypath):
ARC_PYTHON = arc_pypath
break

# Default is "queue", "pipe" will be called whenever needed. So just list 'incore'.
default_incore_adapters = ['autotst', 'gcn', 'heuristics', 'kinbot', 'psi4']

0 comments on commit ab998cf

Please sign in to comment.