Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/dt4acc-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
ref: ${{ github.event.pull_request.head.ref || github.ref_name }}

- name: Set up Apptainer
uses: eWaterCycle/setup-apptainer@v2
Expand All @@ -55,7 +58,7 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install -e ".[test]"
python -m pip install "ophyd-async[tango]"
python -m pip install "ophyd-async[tango, ca, pva]"
python -m pip install --no-deps \
"tango-pyaml @ git+https://github.com/python-accelerator-middle-layer/tango-pyaml.git" \
"pyaml-cs-oa @ git+https://github.com/python-accelerator-middle-layer/pyaml-cs-oa.git"
Expand Down Expand Up @@ -83,8 +86,8 @@ jobs:
PID_FILE="${RUNNER_TEMP}/dt4acc-twin.pid"

bash tests/integration/start_dt4acc_twin.sh \
--accelerator-setup-file "${GITHUB_WORKSPACE}/tests/integration/data/fodo_1gev_6d_pyaml.json" \
--lattice-file "${GITHUB_WORKSPACE}/tests/integration/data/fodo_1gev_6d.m" \
--accelerator-setup-file "${GITHUB_WORKSPACE}/tests/integration/data/fodo_1gev_6d/fodo_1gev_6d_dt4acc.json" \
--lattice-file "${GITHUB_WORKSPACE}/tests/integration/data/fodo_1gev_6d/fodo_1gev_6d.json" \
--tango-host "${TANGO_HOST%:*}" \
--tango-port "${TANGO_HOST##*:}" \
--sif "${RUNNER_TEMP}/apptainer/dt4acc-soleil-twin.sif" \
Expand Down
2 changes: 1 addition & 1 deletion pyaml/accelerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ def from_dict(config_dict: dict, ignore_external=False) -> "Accelerator":

Parameters
----------
config_dict : str
config_dict : dict
Dictionary containing accelerator config
ignore_external: bool
Ignore external modules and return None for object that
Expand Down
Loading
Loading