#12 allow selection with non-integer limits

closed
nobody
5
2008-08-14
2006-01-29
Scott Menor
No

Although temperature is stored as a decimal field in .pdb files, Jmol was
limited to selections with integer limits.

This patch allows selections such as
select temperature < .3

which would formerly return 'error - integer expected'.

Discussion

  • Scott Menor

    Scott Menor - 2006-01-29

    patch to allow selection with non-integer limits

     
  • Miguel

    Miguel - 2006-01-29

    Logged In: YES
    user_id=1050060

    It turns out that RasMol defined a different behavior for
    temperature.

    The bfactor/temperature value is multiplied by 100 before it
    is stored. So, a temperature of 1.00 becomes 100.

    Therefore, a temperature of .3 becomes 30 ... and the query
    becomes:

    select temperature<30

    This may not be what you like ... but it is the behavior
    defined by RasMol ... maintained by Jmol for compatibility.

    Not sure what your patch is doing.

    Contact me if you have questions.

    Miguel
    miguel@jmol.org

     
  • Bob Hanson

    Bob Hanson - 2008-08-14
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks