Skip to content

Commit

Permalink
Fixed a small issue in the plotting tool that could cause it to fail …
Browse files Browse the repository at this point in the history
…sometimes.
  • Loading branch information
Paulo V C Medeiros committed Feb 3, 2015
1 parent 112b16a commit af98eb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/general_io_mod.f90
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ module general_io
file_for_pc_reduced_to_prim_cell, file_for_SC_reduced_to_prim_cell

integer, parameter :: str_len=256
character(len=30), parameter :: package_version="2.5.1, 2015-01-30"
character(len=30), parameter :: package_version="2.5.2, 2015-02-03"
character(len=str_len), parameter :: file_header_BandUP="# File created by BandUP - &
Band Unfolding code for &
Plane-wave based calculations, &
Expand Down
2 changes: 1 addition & 1 deletion utils/post_unfolding/plot/plot_unfolded_EBS_BandUP.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def __init__(self):


def get_available_cmaps(self):
colormap_names = sorted([m for m in plt.cm.datad], key=str.lower)
colormap_names = sorted(plt.cm.datad.keys(), key=lambda s: s.lower())
colormaps = dict([[cmap_name, plt.get_cmap(cmap_name)] for cmap_name in colormap_names])
# Custom colormaps - I'm still testing
try:
Expand Down

0 comments on commit af98eb2

Please sign in to comment.