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 14, 2019
1 parent caf2e2c commit 596e32a
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 596e32a

Please sign in to comment.