Skip to content

Commit fc99d82

Browse files
daviddesanchoclaude
andcommitted
Merge feature/fix-ci-node24: CI fixes — simplify test step, Node.js 24, SyntaxWarning
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2 parents 38e3950 + 244f63d commit fc99d82

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
pull_request:
77
branches: [master, develop]
88

9+
env:
10+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
11+
912
jobs:
1013
test:
1114
name: Python ${{ matrix.python-version }} / ${{ matrix.os }}
@@ -45,8 +48,4 @@ jobs:
4548
run: conda list | grep -E "numpy|scipy|mdtraj|networkx|scikit"
4649

4750
- name: Run tests
48-
run: |
49-
pytest mastermsm/test/ -v --tb=long > pytest-output.txt 2>&1
50-
RESULT=$?
51-
cat pytest-output.txt
52-
exit $RESULT
51+
run: pytest mastermsm/test/ -v --tb=long

mastermsm/fewsm/fewsm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ def eigen_group(self, N=2, method="robust"):
6565
keep_states = self.parent.keep_states
6666
macros[0] = list(range(len(keep_states)))
6767
for n in range(1, N):
68-
if method is "robust":
68+
if method == "robust":
6969
macro_new, _ = fewsm_lib.split_sigma(macros, lvecs[:,n])
70-
elif method is "sign":
70+
elif method == "sign":
7171
macro_new, _ = fewsm_lib.split_sign(macros, lvecs[:,n])
7272
macros = copy.deepcopy(macro_new)
7373
print ("\n Initial membership of microstates to macrostates:")

0 commit comments

Comments
 (0)