Commit 1c7ce869 by Maarten L. Hekkelman

Update libcifpp dependency

parent 59fe8b39
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
cmake_minimum_required(VERSION 3.15) cmake_minimum_required(VERSION 3.15)
# set the project name # set the project name
project(mkdssp VERSION 4.4.3 LANGUAGES CXX) project(mkdssp VERSION 4.4.4 LANGUAGES CXX)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
...@@ -105,7 +105,7 @@ find_package(Threads) ...@@ -105,7 +105,7 @@ find_package(Threads)
if(NOT PDB_REDO_META) if(NOT PDB_REDO_META)
find_package(libmcfp REQUIRED) find_package(libmcfp REQUIRED)
find_package(cifpp 5.1.0 REQUIRED) find_package(cifpp 7 REQUIRED)
endif() endif()
add_subdirectory(libdssp) add_subdirectory(libdssp)
......
Version 4.4.4
- Update dependency on libcifpp to version 7
Version 4.4.3 Version 4.4.3
- Split the code in a sub project for libdssp and the main - Split the code in a sub project for libdssp and the main
code for the executable. code for the executable.
......
...@@ -230,13 +230,13 @@ void writeBridgePairs(cif::datablock &db, const dssp &dssp) ...@@ -230,13 +230,13 @@ void writeBridgePairs(cif::datablock &db, const dssp &dssp)
{ {
auto &hb = db["dssp_struct_bridge_pairs"]; auto &hb = db["dssp_struct_bridge_pairs"];
hb.add_column("id"); hb.add_item("id");
hb.add_column("label_comp_id"); hb.add_item("label_comp_id");
hb.add_column("label_seq_id"); hb.add_item("label_seq_id");
hb.add_column("label_asym_id"); hb.add_item("label_asym_id");
hb.add_column("auth_seq_id"); hb.add_item("auth_seq_id");
hb.add_column("auth_asym_id"); hb.add_item("auth_asym_id");
hb.add_column("pdbx_PDB_ins_code"); hb.add_item("pdbx_PDB_ins_code");
// force right order // force right order
for (std::string da : { "acceptor_", "donor_" }) for (std::string da : { "acceptor_", "donor_" })
...@@ -244,7 +244,7 @@ void writeBridgePairs(cif::datablock &db, const dssp &dssp) ...@@ -244,7 +244,7 @@ void writeBridgePairs(cif::datablock &db, const dssp &dssp)
for (std::string i : { "1_", "2_" }) for (std::string i : { "1_", "2_" })
{ {
for (std::string n : { "label_comp_id", "label_seq_id", "label_asym_id", "auth_seq_id", "auth_asym_id", "pdbx_PDB_ins_code", "energy" }) for (std::string n : { "label_comp_id", "label_seq_id", "label_asym_id", "auth_seq_id", "auth_asym_id", "pdbx_PDB_ins_code", "energy" })
hb.add_column(da + i + n); hb.add_item(da + i + n);
} }
} }
...@@ -615,7 +615,7 @@ void writeSummary(cif::datablock &db, const dssp &dssp) ...@@ -615,7 +615,7 @@ void writeSummary(cif::datablock &db, const dssp &dssp)
"ss_bridge", "helix_3_10", "helix_alpha", "helix_pi", "helix_pp", "bend", "chirality", "sheet", "ss_bridge", "helix_3_10", "helix_alpha", "helix_pi", "helix_pp", "bend", "chirality", "sheet",
"strand", "ladder_1", "ladder_2", "accessibility", "TCO", "kappa", "alpha", "phi", "psi", "strand", "ladder_1", "ladder_2", "accessibility", "TCO", "kappa", "alpha", "phi", "psi",
"x_ca", "y_ca", "z_ca"}) "x_ca", "y_ca", "z_ca"})
dssp_struct_summary.add_column(label); dssp_struct_summary.add_item(label);
for (auto res : dssp) for (auto res : dssp)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment