Skip to content

Commit

Permalink
version 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cmbant committed Apr 19, 2021
1 parent 7ff2a53 commit 303b520
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion getdist/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
__author__ = 'Antony Lewis'
__version__ = "1.1.4"
__version__ = "1.2.0"
__url__ = "https://getdist.readthedocs.io"

from getdist.inifile import IniFile
Expand Down
6 changes: 3 additions & 3 deletions getdist/gui/mainwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@

try:
from PySide2 import QtCore
except ImportError as e:
if 'DLL load failed' in str(e):
except ImportError as _e:
if 'DLL load failed' in str(_e):
print('DLL load failed attempting to load PySide2: problem with your python configuration')
else:
print(e)
print(_e)
print("Can't import PySide2 modules, you need to install Pyside2")
if not os.path.exists(os.path.join(sys.prefix, 'conda-meta')):
print('Using Anaconda is probably the most reliable method')
Expand Down
2 changes: 1 addition & 1 deletion getdist/tests/test_distributions.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def distributions(self):
return self.all


def plot_compare_method(ax, prob, colors=('k'), sims=100, nsamp=default_nsamp,
def plot_compare_method(ax, prob, colors=('k',), sims=100, nsamp=default_nsamp,
scalings=(0.3, 0.5, 0.7, 0.9, 1, 1.1, 1.3, 1.5, 1.7), test_settings=(None,), linestyles=('-',)):
# compare Parzen estimator with higher order
print(prob.label, ', size = ', nsamp)
Expand Down

0 comments on commit 303b520

Please sign in to comment.