Ignore:
Timestamp:
Nov 12, 2008 2:07:10 PM (14 years ago)
Author:
ajj
Message:

Handle plot removal, deal with rescaling on plot removal.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/utils/bt5/bt5plot2/usans.py

    r441 r443  
    3434    metadata['mon'],metadata['prefactor'], 
    3535    metadata['base'],metadata['numpnts'], 
    36     metadata['type']) = (mdtmp[0],' '.join(mdtmp[1:5]),mdtmp[6],mdtmp[7],mdtmp[8],mdtmp[9],mdtmp[10]) 
     36    metadata['type']) = (mdtmp[0],' '.join(mdtmp[1:5]),float(mdtmp[6]),int(mdtmp[7]),mdtmp[8],int(mdtmp[9]),mdtmp[10]) 
    3737     
    3838    #Comment string 
     
    4949     
    5050    for index in range(13, len(inputdata), 2): 
    51         detdata[inputdata[index].split()[0]] = inputdata[index + 1].split(',')     
     51        detdata[float(inputdata[index].split()[0])] = inputdata[index + 1].split(',')     
    5252 
    5353    for key in detdata.keys(): 
Note: See TracChangeset for help on using the changeset viewer.