-
Notifications
You must be signed in to change notification settings - Fork 24
Added a Linear TS search job adapter
#695
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
alongd
wants to merge
37
commits into
main
Choose a base branch
from
linear_ts
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
875acf3
Remove Julia installation from install_rmg
alongd a193706
Minor: Style mod in mapping driver
alongd a1726ba
Organize teardown in functional and common tests
alongd dd24ae7
Added Claude to .gitignore
alongd 7de3d32
Added a debug message if fragment mapping fails
alongd e2565c0
Modifications to CI
alongd cc2420f
Added a nightly CI for slower tests
alongd 43cc077
Mark slow unit tests in .toml
alongd 853ac7e
Added Reaction.is_unimolecular()
alongd f4ea9fe
Tests: Reaction.is_unimolecular()
alongd d07cb97
Added an atom_order arg to xyz_to_zmat()
alongd 5e2d0f7
Tests: xyz_to_zmat()
alongd ec0a171
Added 'linear' to ts_adapters_by_rmg_family
alongd 689438c
Added check_ordered_zmats()
alongd 3ea4f13
Tests: check_ordered_zmats()
alongd 91a00d6
Added linear to JobEnum
alongd 6708e3c
Added the Linear TS search job adapter and related utils
alongd 0d3bf10
Tests: Linear TS Job Adapter and utils
alongd ca09160
Added order_xyz_by_atom_map to converter
alongd 6639a50
Tests: converter order_xyz_by_atom_map()
alongd 3cfd9c1
Added update_zmat_by_xyz() to zmat
alongd 926e3c6
Tests: zmat update_zmat_by_xyz()
alongd f4a3184
Use the round_to arg in common get_angle_in_180_range()
alongd 10c469e
Tests: use round_to in get_angle_in_180_range()
alongd 0526845
Added anchors to xyz_to_zmat()
alongd 46e43b3
Tests: zmat anchors
alongd 0db8b53
Added converter order_mol_by_atom_map()
alongd 933044f
Added zmat find_smart_anchors()
alongd 7800117
Updated the ts_adapters_by_rmg_family dict
alongd 82eec25
Tests: call self.job_3.execute() in OB tests
alongd 15caba0
Preserve radical sites when perceiving mol from xyz with an existing mol
alongd 6efe85b
Added an iPY notebook to showcase the linear adapter
alongd 89efd48
Docs: Added descriptions of TS search methods implemented in ARC
alongd a7a7438
Added split_entries() to family
alongd e14aa04
Minor: Style modifications
alongd 63cb97a
Tests: Added family tests
alongd 6ff493c
Implement ts_adapters_for_unknown_unimolecular() in Scheduler
alongd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,87 @@ | ||
| name: Nightly (Slow Tests) | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| schedule: | ||
| - cron: '0 6 * * *' | ||
|
|
||
| jobs: | ||
| nightly-slow-tests: | ||
| name: Nightly Unit Tests (including slow) | ||
| runs-on: ubuntu-latest | ||
| defaults: | ||
| run: | ||
| shell: bash -el {0} | ||
|
|
||
| steps: | ||
| - name: Checkout ARC | ||
| uses: actions/checkout@v6 | ||
| with: | ||
| ref: main | ||
| path: ARC | ||
|
|
||
| - name: Clean Ubuntu Image | ||
| uses: jlumbroso/free-disk-space@v1.3.1 | ||
| with: | ||
| tool-cache: true | ||
| android: true | ||
| dotnet: true | ||
| haskell: true | ||
| large-packages: true | ||
| swap-storage: false | ||
|
|
||
| - name: Set up micromamba (arc_env) | ||
| uses: mamba-org/setup-micromamba@v3 | ||
| with: | ||
| environment-name: arc_env | ||
| environment-file: ARC/environment.yml | ||
| cache-environment: false | ||
| cache-downloads: true | ||
| generate-run-shell: true | ||
|
|
||
| - name: Install conda in micromamba base | ||
| shell: micromamba-shell {0} | ||
| run: | | ||
| echo "::group::Install conda in micromamba base" | ||
| micromamba install -n base -c conda-forge conda | ||
| echo "::endgroup::" | ||
|
|
||
| - name: Export ARC paths | ||
| shell: micromamba-shell {0} | ||
| working-directory: ARC | ||
| run: | | ||
| echo "PATH=$PATH:$PWD" >> "$GITHUB_ENV" | ||
| echo "PYTHONPATH=$PYTHONPATH:$PWD" >> "$GITHUB_ENV" | ||
|
|
||
| - name: Install all extras - CI | ||
| shell: micromamba-shell {0} | ||
| working-directory: ARC | ||
| env: | ||
| MAMBA_ALWAYS_YES: "true" | ||
| CONDA_ALWAYS_YES: "true" | ||
| run: make install-ci | ||
|
|
||
| - name: Set TS-GCN and AutoTST in PYTHONPATH | ||
| shell: micromamba-shell {0} | ||
| working-directory: ARC | ||
| run: | | ||
| echo "PYTHONPATH=$(realpath ../TS-GCN):$(realpath ../AutoTST):$PYTHONPATH" >> $GITHUB_ENV | ||
|
|
||
| - name: Compile ARC molecule | ||
| shell: micromamba-shell {0} | ||
| working-directory: ARC | ||
| env: | ||
| ARC_COVERAGE: 1 | ||
| run: | | ||
| make compile | ||
|
|
||
| - name: Run Unit Tests (including slow) | ||
| shell: micromamba-shell {0} | ||
| working-directory: ARC | ||
| env: | ||
| ARC_COVERAGE: 1 | ||
| CYTHON_TRACE: 1 | ||
| run: | | ||
| echo "Running Unit Tests (including slow)..." | ||
| export PYTHONPATH="${{ github.workspace }}/AutoTST:${{ github.workspace }}/KinBot:$PYTHONPATH" | ||
| pytest arc/ -ra -vv -n 4 --dist worksteal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -55,6 +55,10 @@ timer.dat | |
| # .vscode | ||
| .vscode | ||
|
|
||
| # Claude | ||
| CLAUDE.md | ||
| .claude/* | ||
|
|
||
| # .trunk folder | ||
| .trunk | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check notice
Code scanning / CodeQL
Empty except Note
Copilot Autofix
AI about 11 hours ago
The best fix is to keep cleanup non-fatal (so existing test behavior is preserved) while making failures observable.
In
arc/common_test.py, replace the emptyexcept OSError: passwith handling that records why cleanup failed. The least invasive approach is to print a clear warning message including the path and exception details. This avoids adding imports or changing control flow while satisfying the “non-empty except” requirement and improving debuggability.Change region:
TestCommon._clean_globalized_restart_artifact, around lines 49–52.No new dependencies are required, and no additional methods/definitions are needed.