From f1037d7d6cf9a1596d669c5c0d2e3e9d7853500d Mon Sep 17 00:00:00 2001 From: Philipp Hanslovsky Date: Wed, 14 Aug 2019 12:43:24 -0400 Subject: [PATCH] Adapt cache directory structure as proposed in #31 --- jgo/jgo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jgo/jgo.py b/jgo/jgo.py index 033de46..642ba74 100644 --- a/jgo/jgo.py +++ b/jgo/jgo.py @@ -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