FragIt / fragit-main

FragIt main repository
Other
25 stars 12 forks source link

Error in .pymol scripts using python3 #22

Closed cstein closed 7 years ago

cstein commented 7 years ago

The pymol script that fragit generates an error in the hex_to_rgb function because of integer division (in python3 one should use // to force integer-division)

Also, the script should be renamed .py instead of .pymol as .pymol is not recognized in pymol version 1.8.6.