Skip to content

Commit

Permalink
Update XChemRefine.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Daren-fearon authored Aug 1, 2024
1 parent afb2ca7 commit 36830ee
Showing 1 changed file with 22 additions and 11 deletions.
33 changes: 22 additions & 11 deletions xce/lib/XChemRefine.py
Original file line number Diff line number Diff line change
Expand Up @@ -1081,14 +1081,22 @@ def RunRefmac(
+ "\n"
+ findTLS
+ "refmac5 "
+ RefmacParams["HKLIN"] + " "
+ RefmacParams["HKLOUT"] + " "
+ RefmacParams["XYZIN"] + " "
+ RefmacParams["XYZOUT"] + " "
+ RefmacParams["LIBIN"] + " "
+ RefmacParams["LIBOUT"] + " "
+ RefmacParams["TLSIN"] + " "
+ RefmacParams["TLSOUT"] + " "
+ RefmacParams["HKLIN"]
+ " "
+ RefmacParams["HKLOUT"]
+ " "
+ RefmacParams["XYZIN"]
+ " "
+ RefmacParams["XYZOUT"]
+ " "
+ RefmacParams["LIBIN"]
+ " "
+ RefmacParams["LIBOUT"]
+ " "
+ RefmacParams["TLSIN"]
+ " "
+ RefmacParams["TLSOUT"]
+ " "
+ "<< EOF > refmac.log\n"
+ "make -hydrogen ALL"
+ "-hout NO "
Expand All @@ -1107,15 +1115,17 @@ def RunRefmac(
+ "ncyc "
+ RefmacParams["NCYCLES"]
+ "scal -type SIMP -LSSC -ANISO -EXPE\n"
+ weight + "solvent YES\n"
+ weight
+ "solvent YES\n"
+ "monitor MEDIUM -torsion 10.0 -distance 10.0 -angle 10.0 -plane 10.0 "
+ "-chiral 10.0 -bfactor 10.0 -bsphere 10.0 -rbond 10.0 -ncsr 10.0\n"
+ "labin FP=F SIGFP=SIGF FREE=FreeR_flag\n"
+ "labout FC=FC FWT=FWT PHIC=PHIC PHWT=PHWT DELFWT=DELFWT PHDELWT=PHDELWT "
+ "FOM=FOM\n"
+ RefmacParams["TLSADD"]
+ "\n"
+ "DNAME " + self.xtalID
+ "DNAME "
+ self.xtalID
+ "\n"
+ "END\n"
+ "EOF\n"
Expand Down Expand Up @@ -1153,7 +1163,8 @@ def RunRefmac(
+ self.ProjectPath
+ "/"
+ self.xtalID
+ "/Refine_" + Serial
+ "/Refine_"
+ Serial
+ "\n"
+ spider_plot
+ "\n"
Expand Down

0 comments on commit 36830ee

Please sign in to comment.