From 243796ede647def64041aa947bd281f879a6b9b9 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Thu, 18 Dec 2025 23:50:56 +0000 Subject: [PATCH] remove dead code --- parsers/survex.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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