Changeset 1625 in parammd


Ignore:
Timestamp:
Dec 14, 2018, 9:19:16 AM (3 years ago)
Author:
ehb
Message:

Add pdb extends info to simplify box size determination

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bin/parammd.py

    r1047 r1625  
    2424
    2525from StringIO import StringIO
     26
    2627#from math import exp, expm1, log10, log, log1p
     28
    2729from subprocess import Popen, PIPE, STDOUT
    2830
     
    215217    molsize_y = json_variables['size_y']
    216218    molsize_z = json_variables['size_z']
     219
     220    info_str = "PDB Extents [A] X:%.2f Y:%.2f Z:%.2f" % ( Diff_x, Diff_y, Diff_z );
     221    message_box(info_str,'information.png')
     222    socket_dict["_textarea"] = info_str + "\n";
     223    if socket_dict:
     224        doc_string = json.dumps(socket_dict)
     225        sock.sendto(doc_string,(UDP_IP,UDP_PORT))
    217226
    218227    if float(molsize_x) < Diff_x:
Note: See TracChangeset for help on using the changeset viewer.