[svn r7650] Length, depth + extent fields in cave pages now calculated from

lengths.dat (which is in turn calculated from dataset).
This commit is contained in:
dave
2007-02-21 16:31:51 +01:00
parent 0c7d3bf30c
commit c8cccbe7bb
6 changed files with 224 additions and 181 deletions

View File

@@ -298,7 +298,7 @@ fieldnames=chomp(cavetabfile.next()).replace('"','').split(",")
cavetab = csv.DictReader(cavetabfile, fieldnames)
print "Munging lengths.dat"
lengthsfile = file("lengths.dat")
lengthsfile = file("../lengths.dat")
lengths = {}
for l in lengthsfile:
t = l.replace("\"","").replace("\n", "").split("\t")