diff options
Diffstat (limited to 'parsers/survex.py')
-rw-r--r-- | parsers/survex.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/parsers/survex.py b/parsers/survex.py index ea1e061..569a4b4 100644 --- a/parsers/survex.py +++ b/parsers/survex.py @@ -26,6 +26,11 @@ It does also NOT scan the Loser repo for all the svx files - though it should ! todo = '''Also walk the entire tree in the :loser: repo looking for unconnected survex files - add them to the system so that they can be reported-on - produce a parser report and create a troggle report page (some are OK, e.g. futility series replaced by ARGE survey in 115) + +- If you look at e.g. http://expo.survex.com/survexfile/161#T_caves-1623/161/lhr/alllhr + you will see than have the team members are recognised by this parser, but not recognised by the + wider troggle system (the name is not a hyperlink) - apparently randomly. + GetPersonExpeditionNameLookup() needs to be fixed. ''' survexblockroot = None ROOTBLOCK = "rootblock" @@ -201,7 +206,8 @@ class LoadingSurvex(): personexpedition = survexblock.expedition and GetPersonExpeditionNameLookup(survexblock.expedition).get(tm.lower()) if (personexpedition, tm) not in teammembers: teammembers.append((personexpedition, tm)) - personrole = SurvexPersonRole(survexblock=survexblock, nrole=mteammember.group(1).lower(), personexpedition=personexpedition, personname=tm) + personrole = SurvexPersonRole(survexblock=survexblock, personexpedition=personexpedition, personname=tm) +# personrole = SurvexPersonRole(survexblock=survexblock, nrole=mteammember.group(1).lower(), personexpedition=personexpedition, personname=tm) personrole.save() personrole.expeditionday = survexblock.expeditionday if personexpedition: |