~launchpad-p-s/sofastatistics/main

« back to all changes in this revision

Viewing changes to pearsonsr.py

  • Committer: launchpad at co
  • Date: 2014-03-12 09:19:26 UTC
  • Revision ID: launchpad@p-s.co.nz-20140312091926-hfghr841zk2z3jxu
Cleaned out a whole lot of circular importing that was uncovered when certain bugs were thrown.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
import wx
5
5
 
 
6
import basic_lib as b
6
7
import my_globals as mg
7
8
import lib
8
9
import paired2var
41
42
            var_a, label_a, var_b, label_b = self.get_drop_vals()
42
43
        except Exception, e:
43
44
            wx.MessageBox(u"Unable to get script to make output. Orig error: %s" 
44
 
                % lib.ue(e))
 
45
                % b.ue(e))
45
46
        script_lst.append(u"""
46
47
sample_a, sample_b, data_tups = core_stats.get_paired_data(dbe=mg.%(dbe)s,
47
48
    cur=cur, tbl=u"%(tbl)s", tbl_filt=tbl_filt, fld_a=u"%(var_a)s",