1. 07 Jul, 2020 1 commit
    • Leo Pound Singer's avatar
      Make glue and lal Recommended, but not hard dependencies · 39252590
      Leo Pound Singer authored
      lal is used only for LIGOTimeGPS, and the import is at the point of
      use and not at module level. glue is used to provide old ILWD format
      support, and glue imports are guarded by if statements. The basic
      functionality of python-ligo-lw is still present if lal and glue are
      missing, so it is appopriate to describe the relationship using
      `Recommends` rather than `Depends`.
      On the other hand, LALSuite uses glue pervasively, so LALSuite must
      Depend on python-ligo-lw.
      This breaks the circular dependency that was a problem in
  2. 06 Jul, 2020 1 commit
    • Leo Pound Singer's avatar
      Replace glue.text_progress_bar with tqdm · 55b22515
      Leo Pound Singer authored
      Glue is not being actively maintained. Tqdm is a very popular and
      lightweight progress bar and is nicer than the one in glue anyway.
      So many packages use tqdm that the user is likely to already have
      it on their system.
  3. 16 Apr, 2020 2 commits
  4. 14 Apr, 2020 1 commit
  5. 11 Mar, 2020 1 commit
  6. 26 Feb, 2020 10 commits
  7. 21 Feb, 2020 5 commits
  8. 20 Feb, 2020 1 commit
  9. 18 Feb, 2020 1 commit
    • Leo Pound Singer's avatar
      Silence Python 3.8 PY_SSIZE_T_CLEAN warning · f0246f47
      Leo Pound 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
      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.
  10. 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()
    • 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
    • Kipp Cannon's avatar
      param.py: remove unused import · 6829e093
      Kipp Cannon authored
    • 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
    • Kipp Cannon's avatar
    • 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()
  11. 06 Nov, 2019 3 commits
  12. 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.
    • 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.
  13. 27 Aug, 2019 2 commits
  14. 11 Jul, 2019 1 commit
  15. 13 Jun, 2019 3 commits