povray.py (pymol-open-source-2.2.0) | : | povray.py (pymol-open-source-2.3.0) | ||
---|---|---|---|---|
skipping to change at line 15 | skipping to change at line 15 | |||
#E* It is unlawful to modify or remove this copyright notice. | #E* It is unlawful to modify or remove this copyright notice. | |||
#F* ------------------------------------------------------------------- | #F* ------------------------------------------------------------------- | |||
#G* Please see the accompanying LICENSE file for further information. | #G* Please see the accompanying LICENSE file for further information. | |||
#H* ------------------------------------------------------------------- | #H* ------------------------------------------------------------------- | |||
#I* Additional authors of this source file include: | #I* Additional authors of this source file include: | |||
#-* Peter Haebel | #-* Peter Haebel | |||
#-* | #-* | |||
#-* | #-* | |||
#Z* ------------------------------------------------------------------- | #Z* ------------------------------------------------------------------- | |||
if __name__=='pymol.povray': | if True: | |||
import os | import os | |||
import traceback | import traceback | |||
povray_exe = "povray" | povray_exe = "povray" | |||
def render_from_string(header,pov_inp,prefix,width,height,antialias): | def render_from_string(header,pov_inp,prefix,width,height,antialias): | |||
r = None | r = None | |||
try: | try: | |||
pov = prefix +".pov" | pov = prefix +".pov" | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |