Skip to content

Commit

Permalink
paths debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
callumrollo committed May 6, 2020
1 parent 3ca8994 commit 5d6d4ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion cmcrameri/cm.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
import matplotlib.pyplot as plt
import os
# Find the colormap text files and make a list of the paths
paths = list((Path(os.path.join(os.path.split(__file__)[0], 'cmaps'))).glob('*.txt'))
text_file_folder = os.path.join(os.path.dirname(__file__), 'cmaps')
print(Path(os.path.join(os.path.split(__file__)[0], 'cmaps')))
paths = list(Path(text_file_folder).glob('*.txt'))
crameri_cmaps = dict()
crameri_cmaps_r = dict()
for cmap_path in paths:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
setup(
name = 'cmcrameri',
packages = ['cmcrameri'],
version = '0.4',
version = '0.6',
license='MIT',
description = 'Perceptually uniform colourmaps',
author = 'Callum Rollo',
Expand Down

0 comments on commit 5d6d4ad

Please sign in to comment.