Skip to content

Commit

Permalink
Update code comments
Browse files Browse the repository at this point in the history
  • Loading branch information
cbkerr committed Feb 9, 2024
1 parent 32b8fa9 commit e641333
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion signac/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def __init__(self, project, statepoint=None, id_=None, directory_known=False):
self._id = id_
self._statepoint_requires_init = True

# Fetch the statepoint mapping from the project's cache. Don't load it
# Fetch the cached statepoint from the project's cache. Don't load it
# from disk on a cache miss (will be loaded on demand).
try:
self._cached_statepoint = project._sp_cache[id_]
Expand Down
2 changes: 1 addition & 1 deletion tests/test_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ def test_cached_statepoint_lazy_init(self):
job.init()
id_ = job.id

# Clear the cache to force a lazy load of the statepoint mapping
# Clear the cache to force a lazy load of the cached statepoint
self.project._sp_cache.clear()
job = self.project.open_job(id=id_)
job.cached_statepoint
Expand Down

0 comments on commit e641333

Please sign in to comment.