Skip to content

Commit

Permalink
Adapt cache directory structure as proposed in #31
Browse files Browse the repository at this point in the history
  • Loading branch information
hanslovsky committed Aug 28, 2019
1 parent d6d512f commit f1037d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jgo/jgo.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ def coordinates_from_endpoints(endpoints):
return [ep.get_coordinates() for ep in endpoints]

def workspace_dir_from_coordinates(coordinates, cache_dir):
workspace = os.path.join(cache_dir, *(coordinates[0][0].split('.') + coordinates[0][1:]))
workspace = os.path.join(cache_dir, *coordinates[0])
workspace = '+'.join([workspace] + ['-'.join(c) for c in coordinates[1:]])
return workspace

Expand Down

0 comments on commit f1037d7

Please sign in to comment.