Skip to content

Commit

Permalink
version string constant rename reverted
Browse files Browse the repository at this point in the history
  • Loading branch information
mhekkel committed Apr 8, 2024
1 parent abd9fdf commit b51c8f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libdssp/src/dssp-io.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ void writeDSSP(const dssp &dssp, std::ostream &os)
std::time_t today = system_clock::to_time_t(system_clock::now());
std::tm *tm = std::gmtime(&today);

std::string version = klibdsspVersionNumber;
std::string version = kVersionNumber;
if (version.length() < 10)
version.insert(version.end(), 10 - version.length(), ' ');

Expand Down Expand Up @@ -877,8 +877,8 @@ void annotateDSSP(cif::datablock &db, const dssp &dssp, bool writeOther, bool wr
software.emplace({
{ "pdbx_ordinal", software.get_unique_id("") },
{ "name", "dssp" },
{ "version", klibdsspVersionNumber },
{ "date", klibdsspRevisionDate },
{ "version", kVersionNumber },
{ "date", kRevisionDate },
{ "classification", "model annotation" }
});
}

0 comments on commit b51c8f0

Please sign in to comment.