1. 14 Nov, 2019 6 commits
    • Kipp Cannon's avatar
      utils.process: coalesce code into register_to_xmldoc() · f7dd451d
      Kipp Cannon authored
      - merge append_process(), append_process_params() and process_params_from_dict() together into register_to_xmldoc()
      f7dd451d
    • Kipp Cannon's avatar
      lsctables: gpsproperty work · 052048fd
      Kipp Cannon authored
      - rewrite the documentation related to encoding of +/- inf
      - add support for +/-inf to gpsproperty_with_gmst
      052048fd
    • Kipp Cannon's avatar
      param.py: remove unused import · 6829e093
      Kipp Cannon authored
      6829e093
    • Kipp Cannon's avatar
      array.Array: add .shape property · 63217950
      Kipp Cannon authored
      - with it, add additional sanity checks to I/O code
      - add documentation, doctest unit tests of all of this code
      63217950
    • Kipp Cannon's avatar
      b8d0824c
    • Kipp Cannon's avatar
      ligo.lw.utils.process: move some code upstream · 5faced2e
      Kipp Cannon authored
      - transform some of the logic into methods of classes in lsctables.
      - get_username() is converted to a static method of the ProcessTable class
      - the Process class gets a .initialized() class method to create one with sensible defaults copied from the append_process() function in process.py
      - process.py's append_process() is replaced with a wrapper around the new method
      - set_process_end_time() is turned into a wrapper around a new .set_end_time_now() method added to the Process class
      - process_params_from_dict() + append_process_params() together are made to rely on the .pyvalue machinery of the ProcessParams class to choose the correct type string, removing all of that code from process.py
      - ProcessParams's .append() method's invalid type string check is made to be more verbose to help debug problems
      - delete abandoned register_to_ldbd()
      5faced2e
  2. 06 Nov, 2019 1 commit
  3. 09 Sep, 2019 1 commit
    • Kipp Cannon's avatar
      table.py: remove ._end_of_rows() hook · 30e6ea09
      Kipp Cannon authored
      - nothing ever used it except the DBTable class, which ran a .commit() on the database.
      - the .commit() is more easily implemented as a .endElement() override in a custom Stream handeler, and I've never figured out if the .commit() is even beneficial at all.
      - this patch removes the hook, leading to a *miniscule* performance improvement loading documents, and a conceptual simplification of the code.
      30e6ea09
  4. 27 Aug, 2019 2 commits
  5. 11 Jul, 2019 1 commit
  6. 13 Jun, 2019 2 commits
  7. 23 Apr, 2019 1 commit
  8. 10 Apr, 2019 5 commits
  9. 26 Feb, 2019 4 commits
  10. 25 Feb, 2019 7 commits
  11. 24 Feb, 2019 5 commits
  12. 21 Feb, 2019 1 commit
  13. 18 Feb, 2019 3 commits
  14. 17 Feb, 2019 1 commit
    • Kipp Cannon's avatar
      utils: try to fix use of urlopen() · 5c89bdd3
      Kipp Cannon authored
      - a recent change to ensure file objects are closed broke load_url()
        because urlopen() can't be used as a context manager.  this patch
        should fix it.
      5c89bdd3