Skip to content

Commit 918be04

Browse files
committed
Merge for 1.7.0 release
2 parents fa92a33 + 3482bec commit 918be04

File tree

99 files changed

+118
-742
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+118
-742
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,7 @@ jobs:
6363
- name: Combine coverage
6464
run: |
6565
cd build/coverage
66-
coverage combine && mv .coverage ../..
67-
- uses: codecov/codecov-action@v1
66+
coverage combine && coverage xml && mv coverage.xml ../..
67+
- uses: codecov/codecov-action@v4
68+
env:
69+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

CMakeLists.txt

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 2.8.12...3.6.0)
1+
cmake_minimum_required(VERSION 3.14.0)
22
project(RMF)
33

44
# needs to be in main CMakeLists.txt
@@ -48,6 +48,12 @@ if(POLICY CMP0086)
4848
cmake_policy(SET CMP0086 NEW)
4949
endif(POLICY CMP0086)
5050

51+
# Use FindBoost module rather than BoostConfig.cmake (which requires
52+
# Boost 1.70 or later)
53+
if(POLICY CMP0167)
54+
cmake_policy(SET CMP0167 OLD)
55+
endif(POLICY CMP0167)
56+
5157
# C++11 can use the boost version
5258
set(Boost_NO_BOOST_CMAKE ON)
5359
find_package(Boost COMPONENTS system filesystem thread program_options iostreams
@@ -139,8 +145,8 @@ set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib)
139145

140146
# Version information
141147
set (RMF_VERSION_MAJOR 1)
142-
set (RMF_VERSION_MINOR 6)
143-
set (RMF_VERSION_MICRO 1)
148+
set (RMF_VERSION_MINOR 7)
149+
set (RMF_VERSION_MICRO 0)
144150
math (EXPR RMF_VERSION "${RMF_VERSION_MAJOR} * 100000 + ${RMF_VERSION_MINOR} * 100 + ${RMF_VERSION_MICRO}")
145151

146152
set(RMF_SOVERSION "${RMF_VERSION_MAJOR}.${RMF_VERSION_MINOR}" CACHE INTERNAL "" FORCE)

ChangeLog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
Change Log {#changelog}
22
==========
33

4+
# 1.7.0 - 2024-12-04 # {#changelog_1_7_0}
5+
- Python 2 is no longer supported; the minimum supported Python version is 3.6.
6+
- CMake 2 is no longer supported; the minimum supported CMake version is 3.14.
7+
- RMF::decorator::Chain can now store the mmCIF asym ID, which need not be
8+
the same as the (author-provided) chain ID.
9+
410
# 1.6.1 - 2024-05-13 # {#changelog_1_6_1}
511
- .deb packages for RMF for Ubuntu are now provided via the
612
[Ubuntu PPA](https://launchpad.net/~salilab/+archive/ubuntu/ppa) mechanism.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ and score data.
1414
The main documentation is found on the
1515
[web site](http://integrativemodeling.org/rmf/nightly/doc/).
1616

17-
Copyright 2007-2023 IMP Inventors.
17+
Copyright 2007-2024 IMP Inventors.
1818

1919
Licensed under the Apache License, Version 2.0 (the "License");
2020
you may not use this file except in compliance with the License.

benchmark/benchmark_rmf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
# \brief Benchmark operations on the RMF from python to see how much overhead
33
# that adds
44

5-
from __future__ import print_function
65
import RMF
76
import datetime
87

bin/rmf3_dump.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,11 @@ int main(int argc, char** argv) {
5656
std::cout << std::endl;
5757
}
5858
}
59-
catch (std::exception e) {
60-
std::cerr << "Caught exception " << e.what() << std::endl;
59+
catch (const std::exception &e) {
60+
// avro uses a plain exception to signal EOF
61+
if (std::string(e.what()) != "EOF reached") {
62+
std::cerr << "Caught exception " << e.what() << std::endl;
63+
}
6164
}
6265
return 0;
6366
}

bin/rmf3_dump.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/usr/bin/env python
22

3-
from __future__ import print_function
43
import avro.schema
54
from avro.datafile import DataFileReader, DataFileWriter
65
from avro.io import DatumReader, DatumWriter

cmake_modules/CheckCompiles.cmake

Lines changed: 0 additions & 28 deletions
This file was deleted.

cmake_modules/FindCGAL.cmake

Lines changed: 0 additions & 99 deletions
This file was deleted.

cmake_modules/FindCurrentDoxygen.cmake

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,11 @@ message(STATUS "Python xml.etree not found, docs disabled.")
66
set(IMP_DOXYGEN_EXECUTABLE "${DOXYGEN_EXECUTABLE}" CACHE INTERNAL "")
77
else()
88
find_package(Doxygen QUIET)
9-
set(needed_doxygen_version "1.8.6")
109
if(DOXYGEN_FOUND)
1110
imp_get_process_output("Doxygen version" doxygen_version ${CMAKE_BINARY_DIR} COMMAND ${DOXYGEN_EXECUTABLE} --version)
12-
if("${doxygen_version}" STREQUAL "${needed_doxygen_version}")
13-
message(STATUS "Doxygen is ${DOXYGEN_EXECUTABLE}, version ${doxygen_version}")
14-
set(IMP_DOXYGEN_FOUND True CACHE INTERNAL "")
15-
set(IMP_DOXYGEN_EXECUTABLE ${DOXYGEN_EXECUTABLE} CACHE INTERNAL "")
16-
else()
17-
message(STATUS "Wrong doxygen version at ${DOXYGEN_EXECUTABLE}. Found ${doxygen_version}, but needed ${needed_doxygen_version}")
18-
set(IMP_DOXYGEN_FOUND False CACHE INTERNAL "")
19-
set(IMP_DOXYGEN_EXECUTABLE "not-found" CACHE INTERNAL "")
20-
endif()
11+
message(STATUS "Doxygen is ${DOXYGEN_EXECUTABLE}, version ${doxygen_version}")
12+
set(IMP_DOXYGEN_FOUND True CACHE INTERNAL "")
13+
set(IMP_DOXYGEN_EXECUTABLE ${DOXYGEN_EXECUTABLE} CACHE INTERNAL "")
2114
else()
2215
message(STATUS "Doxygen not found")
2316
endif(DOXYGEN_FOUND)

0 commit comments

Comments
 (0)