Skip to content
Merged
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
44 changes: 0 additions & 44 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,50 +18,6 @@ permissions:
actions: write

jobs:
analyze-cpp:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v6

- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: c-cpp
# Disable default queries that expect Python/JS; use the standard C++ suite.
queries: security-and-quality

- name: Get GROMACS commit hash
id: gmx-hash
run: |
echo "hash=$(git ls-remote https://github.com/multi-ego/gromacs.git refs/heads/release-2025 | cut -f1)" >> $GITHUB_OUTPUT

- name: Cache GROMACS installation
id: cache-gromacs
uses: actions/cache@v5
with:
path: /usr/local/gromacs
key: gromacs-release-2025-${{ steps.gmx-hash.outputs.hash }}

- name: Build GROMACS
if: steps.cache-gromacs.outputs.cache-hit != 'true'
run: |
git clone --depth 1 -b release-2025 https://github.com/multi-ego/gromacs.git
cd gromacs; mkdir build; cd build
cmake .. -DGMX_FFT_LIBRARY=fftpack -DBUILD_TESTING=OFF -DGMX_INSTALL_LEGACY_API=ON -DGMX_IMD=OFF
make -j2
sudo make install

- name: Build cmdata
run: |
cd tools/cmdata; mkdir build; cd build
cmake ..
make

- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@v4
with:
category: c-cpp

analyze-python:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion src/multiego/lj.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def set_sig_epsilon(meGO_LJ, parameters):
)
sub = meGO_LJ.loc[condition]
meGO_LJ.loc[condition, "epsilon"] = (-sub["rep"] * (sub["distance"] / sub["rc_distance"]) ** 12).clip(
lower=-20 * sub["rep"], upper=-0.05 * sub["rep"]
lower=-2 * sub["rep"], upper=-0.05 * sub["rep"]
)
meGO_LJ.loc[condition, "learned"] = 1

Expand Down
98,078 changes: 49,039 additions & 49,039 deletions tests/test_outputs/abetaref/case_1/ffnonbonded.itp

Large diffs are not rendered by default.

484 changes: 242 additions & 242 deletions tests/test_outputs/abetaref/case_1/topol_mego.top

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions tests/test_outputs/cmdata/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
histo/
histo_pdb/
74,144 changes: 37,072 additions & 37,072 deletions tests/test_outputs/gpref/case_1/ffnonbonded.itp

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/test_outputs/gpref/case_1/topol_mego.top
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; Multi-eGO force field v0.6.0 (commit fe98cda8)
; Multi-eGO force field v0.6.0 (commit 7b5ad1af)
; https://github.com/multi-ego/multi-eGO
; Please read and cite:
; Scalone, E. et al. PNAS 119, e2203181119 (2022) 10.1073/pnas.2203181119
Expand Down
82,758 changes: 41,379 additions & 41,379 deletions tests/test_outputs/gpref/case_2/ffnonbonded.itp

Large diffs are not rendered by default.

1,630 changes: 815 additions & 815 deletions tests/test_outputs/gpref/case_2/topol_mego.top

Large diffs are not rendered by default.

Loading
Loading