1. 22 Apr, 2020 1 commit
  2. 16 Apr, 2020 2 commits
  3. 14 Apr, 2020 1 commit
  4. 11 Mar, 2020 1 commit
  5. 26 Feb, 2020 10 commits
  6. 21 Feb, 2020 5 commits
  7. 20 Feb, 2020 1 commit
  8. 18 Feb, 2020 1 commit
    • Leo P. Singer's avatar
      Silence Python 3.8 PY_SSIZE_T_CLEAN warning · f0246f47
      Leo P. Singer authored
      In Python 3, `PyArg_ParseTuple` and friends can return either an int
      or a Py_ssize_t type for the length in an argument of the form
      `"s#"`, `"y#"`, `"u#"`, etc, controlled by whether the preprocessor
      macro `PY_SSIZE_T_CLEAN` is defined when the header `Python.h` is
      included. A future version of Python will only support `PY_SSIZE_T`.
      In Python 3.8, there was a deprecation warning added (see
      https://bugs.python.org/issue36381).
      
      Define the `PY_SSIZE_T_CLEAN` macro to suppress the hundreds or
      thousands of deprecation warnings that may be printed when reading
      a LIGO_LW file.
      
      See also lscsoft/glue!69.
      f0246f47
  9. 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
  10. 06 Nov, 2019 3 commits
  11. 09 Sep, 2019 2 commits
    • Kipp Cannon's avatar
      distribute programs in their own package · 30ec04a3
      Kipp Cannon authored
      - allows a conflict to be broken when both python2 and python3 versions are built.
      30ec04a3
    • 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
  12. 27 Aug, 2019 2 commits
  13. 11 Jul, 2019 1 commit
  14. 13 Jun, 2019 4 commits