Skip to content

Commit 27be42e

Browse files
committed
update to v0.0.6
1 parent e97271f commit 27be42e

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

graphmap/commander.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
import azure_image_tree
88
import imagetree
9-
import imagetree_core.tree_viewer
9+
import tree_viewer
1010
import matplotlib.pyplot as plt
1111
import serializer
1212
import utilities
@@ -50,7 +50,7 @@ def process_args(parser):
5050
parser.print_help()
5151
exit()
5252
tree = serializer.load_link_new_serializer(arguments.nodelink)
53-
imagetree_core.tree_viewer.tree_viewer(tree)
53+
tree_viewer.tree_viewer(tree)
5454
exit()
5555

5656
if arguments.upload_file:

graphmap/tree_viewer.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import imagetree
2-
import imagetree_core.constants
3-
from imagetree_core import serializer
4-
from imagetree_core.utilities import quadkey_to_xyz, xyz_to_quadkey, create_tree_from_url, is_valid_quadkey
2+
import serializer
3+
from utilities import quadkey_to_xyz, xyz_to_quadkey, is_valid_quadkey
4+
from serializer import create_tree_from_jpg_url
55
import commander
66
import constants
77
import sys
@@ -67,7 +67,7 @@ def tree_viewer(tree):
6767
blob_url = 'https://artmapstore.blob.core.windows.net/firstnodes/' + node_name + '.tsv.gz'
6868
quad_key = current_quadkey
6969
print('Inserting image ', url, ' at quadkey ', quad_key)
70-
another_tree = create_tree_from_url(url=url, node_name=tree.name, tree_filename=blob_url,
70+
another_tree = create_tree_from_jpg_url(url=url, name=tree.name, filename=blob_url,
7171
max_resolution=1024)
7272
tree.insert(another_tree, quad_key)
7373
print(
@@ -84,6 +84,6 @@ def tree_viewer(tree):
8484
if len(sys.argv) > 1:
8585
node_link = sys.argv[1]
8686
else:
87-
node_link = imagetree_core.constants.ROOT_LINK
87+
node_link = constants.ROOT_LINK
8888
tree = serializer.load_link_new_serializer(node_link)
8989
tree_viewer(tree)

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55

66
setup(
77
name='graphmap',
8-
version='0.0.3',
9-
description='Images on a quad graph',
8+
version='0.0.5',
9+
description='Images on a quad graph. Create an infinite canvas',
1010
author='Abhishek Rao',
1111
author_email='abhishek.rao.comm@gmail.com',
1212
url='https://github.com/abhishekraok/GraphMap',
13-
download_url='https://github.com/abhishekraok/GraphMap/archive/v0.1.tar.gz',
13+
download_url='https://github.com/abhishekraok/GraphMap/archive/v0.0.4.tar.gz',
1414
packages=find_packages(exclude=('tests', 'docs'))
1515
)
1616

0 commit comments

Comments
 (0)