Skip to content

Commit 0f61480

Browse files
committed
Removed unnecessary assertion making it harder to override the folder index cache
1 parent 0d07748 commit 0f61480

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
dist
22
myenv
33
perf/sample.txt
4-
**/__pycache__
4+
**/__pycache__
5+
src/pyremotedata/pyremotedata_config.yaml

src/pyremotedata/implicit_mount.py

-1
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,6 @@ def get_file_index(self, skip: int=0, nmax: Union[int, None]=None, override: boo
851851
main_logger.debug(f"Folder index does not exist in {self.pwd()}")
852852
# If override is True, delete the file index if it exists
853853
if override and file_index_exists:
854-
assert store is False, RuntimeError(f"'override' is '{override}' and 'store' is '{store}', this is not allowed and should not happen!")
855854
self.execute_command("rm folder_index.txt")
856855
# Now the file index does not exist (duh)
857856
file_index_exists = False

0 commit comments

Comments
 (0)