Skip to content

Commit bca68d7

Browse files
Merge pull request #47 from SSCHAcode/line_minimization
Line minimization
2 parents b9530ce + d93d685 commit bca68d7

22 files changed

Lines changed: 1497 additions & 775 deletions

File tree

.github/workflows/python-testsuite.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
python-version: [2.7, 3.8]
18+
python-version: [3.8]
1919

2020
steps:
2121
- uses: actions/checkout@v2
@@ -40,7 +40,7 @@ jobs:
4040
sudo apt-get update
4141
sudo apt-get install git gfortran libblas-dev liblapack-dev
4242
git clone https://github.com/mesonepigreco/CellConstructor.git
43-
cd cellconstructor
43+
cd CellConstructor
4444
python setup.py install --user
4545
cd ..
4646

Examples/ClusterConnectionExample/connect_to_marconi.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
2+
from __future__ import print_function
33
"""
44
This example uses the marconi cluster
55
to submit a force and energy calculation of a subset of 10 configurations
@@ -57,8 +57,8 @@
5757
module load fftw"""
5858

5959

60-
print "Sending the ensemble for the calculation."
60+
print("Sending the ensemble for the calculation.")
6161
cluster.compute_ensemble(ens, calc)
6262

6363
ens.save_bin(".")
64-
print "Ensemble saved."
64+
print("Ensemble saved.")

Modules/Calculator.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import print_function
21
# -*- coding: utf-8 -*-
32
import cellconstructor as CC
43
import cellconstructor.Methods

Modules/Ensemble.py

Lines changed: 232 additions & 542 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)