diff --git a/parsers/survex.py b/parsers/survex.py index 46f4e7b..aeaf55c 100644 --- a/parsers/survex.py +++ b/parsers/survex.py @@ -1771,15 +1771,15 @@ class LoadingSurvex: if edulcni: self.ProcessEdulcniLine(edulcni) - def get_cave(self, path): - """Read the file path to a survex file and guesses the cave - """ - path_match = re.search(r"caves-(\d\d\d\d)/(\d+|\d\d\d\d-?\w+-\d+)/", path) - if path_match: - pos_cave = f"{path_match.group(1)}-{path_match.group(2)}" - cave = getCaveByReference(pos_cave) - return cave - return None + # def get_cave(self, path): + # """Read the file path to a survex file and guesses the cave + # """ + # path_match = re.search(r"caves-(\d\d\d\d)/(\d+|\d\d\d\d-?\w+-\d+)/", path) + # if path_match: + # pos_cave = f"{path_match.group(1)}-{path_match.group(2)}" + # cave = getCaveByReference(pos_cave) + # return cave + # return None def LinearLoad(self, survexblock, path, collatefilename): """Loads a single survex file. Usually used to import all the survex files which have been collated