Skip to content

Commit

Permalink
Rename 3di weights file to avoid issues with xxdi.pl
Browse files Browse the repository at this point in the history
  • Loading branch information
milot-mirdita committed Feb 8, 2022
1 parent 0a9fd19 commit 4927694
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion data/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set(COMPILED_RESOURCES
structuresearch.sh
structdatabases.sh
mat3di.out
3di_encoder_weights.kerasify
encoder_weights_3di.kerasify
evalue_nn.kerasify
)

Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions lib/3di/structureto3di.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <vector>
#include <cmath>
#include "structureto3di.h"
#include "3di_encoder_weights.kerasify.h"
#include "encoder_weights_3di.kerasify.h"

Vec3 StructureTo3DiBase::add(Vec3 a, Vec3 b){
a.x = a.x + b.x;
Expand Down Expand Up @@ -160,8 +160,8 @@ void StructureTo3DiBase::findResiduePartners(std::vector<int> & partnerIdx, Vec3

StructureTo3Di::StructureTo3Di(){
encoder.LoadModel(
std::string((const char *)__3di_encoder_weights_kerasify,
__3di_encoder_weights_kerasify_len));
std::string((const char *)encoder_weights_3di_kerasify,
encoder_weights_3di_kerasify_len));
}

// Describe interaction of residue i and j
Expand Down

0 comments on commit 4927694

Please sign in to comment.