Last active
August 29, 2015 14:10
-
-
Save lambdalisue/ba41e8894c3469cb534a to your computer and use it in GitHub Desktop.
To fix Amber generate OpenDX file loading issue on PyMOL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- layer2/ObjectMap.cpp 2014-12-06 00:42:53.084751381 +0900 | |
+++ layer2/ObjectMap.cpp.patched 2014-12-06 00:43:05.020583300 +0900 | |
@@ -4940,7 +4940,7 @@ | |
if(strcmp(cc, "object") == 0) { | |
p = ParseWordCopy(cc, p, 20); | |
p = ParseNTrim(cc, p, 29); | |
- if(strcmp(cc, "class array type double rank") == 0) { | |
+ if(strcmp(cc, "class array type double rank") == 0 || strcmp(cc, "class array type float rank") == 0) { | |
p = ParseWordCopy(cc, p, 20); | |
p = ParseWordCopy(cc, p, 20); | |
p = ParseWordCopy(cc, p, 20); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
pymol
directory will be appear)ObjectMap.cpp.patch
intopymol
directorypatch -p0 < ObjectMap.cpp.patch
See detail https://www.mail-archive.com/pymol-users@lists.sourceforge.net/msg08468.html