Skip to content
Snippets Groups Projects
  1. Jul 19, 2019
  2. Jul 09, 2019
  3. Jun 14, 2019
  4. Jun 03, 2019
  5. May 30, 2019
  6. May 27, 2019
  7. May 25, 2019
  8. May 21, 2019
  9. May 07, 2019
  10. Apr 01, 2019
  11. Mar 28, 2019
  12. Mar 22, 2019
  13. Mar 19, 2019
  14. Feb 27, 2019
    • Giovanni Bussi's avatar
      Removed duplicates keywords · 8ed9697a
      Giovanni Bussi authored
      Can be found with the following python snippet
      
      import re
      plumedDictionary={}
      with open("/opt/local/lib/plumed/vim/syntax/plumed.vim") as fin:
          for line in fin:
              if re.match("^let b:plumedDictionary\[.*$",line):
                  line=re.sub("^let b:","",line)
                  exec(line,{'__builtins__': None},{'plumedDictionary':plumedDictionary})
      for key in plumedDictionary.keys():
          diction={}
          for opt in plumedDictionary[key]:
              if(opt['word'] in diction):
                  print(key,opt['word'])
              diction[opt['word']]=1
      8ed9697a
  15. Feb 21, 2019
  16. Jan 21, 2019
  17. Jan 14, 2019
  18. Jan 11, 2019
Loading