Skip to content
This repository was archived by the owner on Oct 2, 2024. It is now read-only.

Adding Experiment Directory #1846

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion lib/filesystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
# To see the directory formats in released versions:
#
# $ git grep -E '^STORAGE_VERSION =' $(git tag | sort -V)
STORAGE_VERSION = 7
STORAGE_VERSION = 8


## Globals ##
Expand Down Expand Up @@ -1096,6 +1096,12 @@ def build_cache(self):
@property
def build_large(self):
return self.root // "bularge"

@property
def experiment_dir(self):
"""this is the directory containing all of the experiments relating to the performance
of the Charliecloud build cache"""
return self.root // "experiment"

@property
def download_cache(self):
Expand Down Expand Up @@ -1186,6 +1192,7 @@ def init(self):
self.download_cache.mkdir()
self.build_cache.mkdir()
self.build_large.mkdir()
self.experiment_dir.mkdir()
self.unpack_base.mkdir()
self.upload_cache.mkdir()
if (v_found is not None): # upgrade
Expand Down Expand Up @@ -1277,6 +1284,7 @@ def validate_strict(self):
for entry in { i.name for i in (self.build_cache,
self.build_large,
self.download_cache,
self.experiment_dir,
self.unpack_base,
self.upload_cache,
self.version_file) }:
Expand Down
Loading