Skip to content

Commit

Permalink
fix for gui in python 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Antony Lewis committed Aug 7, 2015
1 parent 0edba43 commit a80cf4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion getdist/gui/mainwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -1131,7 +1131,7 @@ def plotData(self):
if len(chain_dirs) == 1:
chain_dirs = "r'%s'" % chain_dirs[0].rstrip('\\').rstrip('/')

if isinstance(self.iniFile, six.string_types) and self.iniFile <> getdist.default_getdist_settings:
if isinstance(self.iniFile, six.string_types) and self.iniFile != getdist.default_getdist_settings:
script += "g=gplot.%s(chain_dir=%s, analysis_settings=r'%s')\n" % (plot_func, chain_dirs, self.iniFile)
elif isinstance(self.iniFile, IniFile):
script += "g=gplot.%s(chain_dir=%s,analysis_settings=analysis_settings)\n" % (plot_func, chain_dirs)
Expand Down

0 comments on commit a80cf4f

Please sign in to comment.