From b9be5f63b6b29e063f9f9812305f605ba872fcca Mon Sep 17 00:00:00 2001 From: Qinqing Liu Date: Thu, 5 Aug 2021 14:42:43 -0400 Subject: [PATCH] add package version --- .DS_Store | Bin 10244 -> 10244 bytes README.md | 6 ++-- octree/.DS_Store | Bin 10244 -> 10244 bytes pdbbind/.DS_Store | Bin 8196 -> 8196 bytes pdbbind/python/utils.py | 42 ++++++++++++++-------------- tensorflow/.DS_Store | Bin 10244 -> 10244 bytes tensorflow/script/.DS_Store | Bin 10244 -> 10244 bytes tensorflow/script/test_reg_model.py | 2 +- 8 files changed, 25 insertions(+), 25 deletions(-) diff --git a/.DS_Store b/.DS_Store index 85af8d6c52980bc6a2af9f3ad261c321b82099b5..6d64b5fecb68f528f2bd6bd0871fb22834317563 100644 GIT binary patch delta 265 zcmZn(XbIS$CJ_73oPmLXg+Y%YogtH|sPZXz`@K!dPkb+w7Hv5tbNnQ^U-Lbaixk-_9RK{3WzlS>8V z8E0>vD#*^nSh;zw@I6){b+}6LGBMh14weyRBu>XWp-(0cawP&C;?lO3?3K(36r}MApsDR-4ho9W0PkdBa;{u90Aso0T&aq tNE9jt2xN0(Y+`S3Y_nk+O#%S`v#%WW0RdsNr5;QHvj-sh1hWJc0|P1CI*%^HMoEl^p`WA`Fvv2rG(9GAc1@Gnz2k zGTJkGFa|OPF@`WkGDc0VmQ$T9Dk8)9WV4ZoE!*Y}DH|q6#?41%zA`c!M3|WY8=x;N diff --git a/pdbbind/.DS_Store b/pdbbind/.DS_Store index 92970fb4d62a3f08a4b664ce061912687d7205cb..127f8c2b22476e0588d28754832f528d5b91c879 100644 GIT binary patch delta 108 zcmZp1XmQxkEyj3qa*jZQkVJL0rKOI7nUO)QjzYDev60E-{{mu+Gbbkq%QMcJ940Qu UG>>U=nfS!bY!a<(Bx>ph04WV1^Z)<= delta 88 zcmZp1XmQxkEjBq@;G8TQLjgl2LkU9$Lq0=ZPP$=ma(-?B0|+qAy*0U1eBx$yi551Z Hl=cAtk^ULc diff --git a/pdbbind/python/utils.py b/pdbbind/python/utils.py index 6200758..9893863 100644 --- a/pdbbind/python/utils.py +++ b/pdbbind/python/utils.py @@ -670,27 +670,27 @@ def get_color_for_dep(depth, differ = True): if differ == False: color = 0 return color - if depth == 0: - color = 0 #[0, 0, 0] # white - elif depth == 1: - color = 1 # [255, 0, 0] # red - elif depth == 2: - color = 2 # [255, 128, 0] - elif depth == 3: - color = 3 #[255,255,0] - elif depth == 4: - color = 4 # [0, 255, 0] - elif depth == 5: - color = 5 #[0, 255, 255] - elif depth == 6: - color = 6 #[0, 0, 255] - elif depth == 7: - color = 7 # [255, 0 , 255] - elif depth == 8 : - color = 8 - else: - color = 9 - return color + # if depth == 0: + # color = 0 #[0, 0, 0] # white + # elif depth == 1: + # color = 1 # [255, 0, 0] # red + # elif depth == 2: + # color = 2 # [255, 128, 0] + # elif depth == 3: + # color = 3 #[255,255,0] + # elif depth == 4: + # color = 4 # [0, 255, 0] + # elif depth == 5: + # color = 5 #[0, 255, 255] + # elif depth == 6: + # color = 6 #[0, 0, 255] + # elif depth == 7: + # color = 7 # [255, 0 , 255] + # elif depth == 8 : + # color = 8 + # else: + # color = 9 + return depth # A better way is use class in vtk package, this solve the color issue to distinguish ligand, pocket. def vtk_writer(vtk_dic, file_name, shift = [0,0,0]): diff --git a/tensorflow/.DS_Store b/tensorflow/.DS_Store index 716f99a325df2a410f6bde855eb845590c743960..78b518450f7814cf1e64a2746fb257c26be38a71 100644 GIT binary patch delta 116 zcmZn(XbITxS%C56#zrQS6C}hKXHFKBl4qPXd7q#> kqtWDvBEp+L3f^TUO3&u$5?MTx{e`SH+lWqL0&6h?0H!7+{Qv*} delta 73 zcmZn(XbITxSzvOS