Skip to content

Commit

Permalink
mp4 only works with even display sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
cabb99 committed May 24, 2024
1 parent c8b8813 commit 99c96e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frustratometer/frustration/frustration.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,11 +571,12 @@ def write_tcl_script(pdb_file, chain, mask, distance_matrix, distance_cutoff, si
if movie_name:
fo.write('''axes location Off
color Display Background white
display resetview
display resize 800 800
display projection Orthographic
display depthcue off
display resetview
display resize [expr [lindex [display get size] 0]/2*2] [expr [lindex [display get size] 1]/2*2] ;#Resize display to even height and width
display update ui
# Set up the movie directory and base file name
mkdir movie_tmp
Expand Down

0 comments on commit 99c96e9

Please sign in to comment.