1. 27 Jun, 2021 2 commits
    • Kipp Cannon's avatar
      process.py: remove set_process_end_time() · 40a1c07d
      Kipp Cannon authored
      - all of lalsuite and gstlal ported to new method
    • Kipp Cannon's avatar
      remove ilwd support code · a292464f
      Kipp Cannon authored
      - ilwd:char valued columns are still supported, but the custom type introduced to try to save memory is removed with this patch and normal Python strings are used instead.
      - this also removes the IDTypes set definition from types.py, which is no longer used following the conversion of ID columns to integers
  2. 10 Jun, 2021 1 commit
  3. 09 Jun, 2021 7 commits
  4. 29 May, 2021 1 commit
  5. 31 Mar, 2021 1 commit
  6. 05 Mar, 2021 4 commits
  7. 16 Feb, 2021 1 commit
  8. 27 Oct, 2020 3 commits
    • Kipp Cannon's avatar
      update change log, set release date · bf9cc77e
      Kipp Cannon authored
    • Kipp Cannon's avatar
      Revert "Switch from distutils to setuptools to fix namespace package issues" · 5db36130
      Kipp Cannon authored
      This reverts commit 866c600a.
      This patch causes the test suite to fail with
      Traceback (most recent call last):
        File "/home/kipp/local/bin/ligolw_print", line 4, in <module>
          __import__('pkg_resources').run_script('python-ligo-lw==1.7.0', 'ligolw_print')
        File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 665, in run_script
          self.require(requires)[0].run_script(script_name, ns)
        File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1451, in run_script
          raise ResolutionError(
      pkg_resources.ResolutionError: Script 'scripts/ligolw_print' not found in metadata at None
    • Kipp Cannon's avatar
      utils: expand auto format detection logic · ad826ae2
      Kipp Cannon authored
      - prior to this, compress=None explicitly selected "no compression", and was also the default, and when writing a file it was always necessary to explicitly enable compression if desired.  now:
      - compress=None means "select default behaviour", and does not necessarily mean to disable compression
      - load_fileobj() and write_fileobj() (and by proxy load_filename(), write_filename(), load_url(), write_url()) accept compress=False to explicitly disable compression.  this is a new keyword argument and does not break backwards compatibility
      - load_fileobj() and write_filename() accept compress="auto" to explicitly enable automatic format detection.  this is a new keyword argument and does not break backward compatibility
      - load_fileobj()'s compress=None default is to select "auto" mode, which is equivalent to the previous behaviour
      - write_filename()'s compress=None default is to select "auto" mode, which is not equivalent to previous behaviour and so breaks compatibility, however, in practice all calling codes include logic to set or clear the (deprecated) gz keyword argument to force compression on or off.  the gz keyword argument is maintained for backwards compatibility and continues to override the compress= keyword argument so this change will have no effect on calling codes
  9. 09 Oct, 2020 8 commits
    • Kipp Cannon's avatar
      SearchSummary: · c933bd36
      Kipp Cannon authored
      - add .initialized() class method to SearchSummary row type
      - port utils.search_summary.append_search_summary() to use new .initialized() method
    • Kipp Cannon's avatar
      segments.py: simplify a comment · 6e039f8c
      Kipp Cannon authored
    • Leo P. Singer's avatar
      Switch from distutils to setuptools to fix namespace package issues · 866c600a
      Leo P. Singer authored
      Distutils and setuptools projects that populate the same namespace
      package do not play well together. Setuptools is smart enough to
      skip installation of the namespace package's dummy __init__.py file
      and its ancillary .pyc or __pycache__ files, but distutils is not.
      Distutils projects that use namespace packages are likely to disrupt
      package managers that protect against two packages trying to install
      the same files.
      It is relatively rare these days to find Python projects that use
      distutils directly rather than setuptools. In fact, the official
      Python standard library documentation for distutils
      (https://docs.python.org/3/library/distutils.html) says:
      > Most Python users will not want to use this module directly, but
      > instead use the cross-version tools maintained by the Python
      > Packaging Authority.
      Switching python-ligo-lw from distutils to setuptools simplifies
      software packaging.
    • Kipp Cannon's avatar
      test suite: switch Makefile to Python 3 · 55eedbaa
      Kipp Cannon authored
    • Leo P. Singer's avatar
      Fix error introduced by !20 · 865d2de4
      Leo P. Singer authored
    • Kipp Cannon's avatar
    • Kipp Cannon's avatar
      ligolw_sqlite: port to dbtables.workingcopy · e1a5017f
      Kipp Cannon authored
    • Kipp Cannon's avatar
      dbtables: implement working copy mechanism as context manager · 2f7d9758
      Kipp Cannon authored
      - removes the need to install a hook into the NamedTemporaryFile instance to delete the corresponding -journal file in the event of program termination.  clean-up is the responsibility of the context manager.
      - backwards compatibility wrappers are provided
      - a small change in calling code is, however, required:  in all calling codes, must change connect(tmpname) to connect(str(tmpname)).  this can be done in advance of the python-ligo-lw release.
      - fixes issue #!14
      - include set_temp_store_directory() method in context manager, deprecate module-level equivalent
  10. 01 Aug, 2020 1 commit
    • Kipp Cannon's avatar
      utils: tweak handling of new "compress" keyword · e11928f7
      Kipp Cannon authored
      - the default value for the existing "gz" keyward argument is "False", not None, which breaks the error checking the temporary _normalize_compress_kwarg() function.  this patch fixes the error checking, but it's not as good as it used to be because some mistakes can't be tested for.
  11. 30 Jul, 2020 7 commits
  12. 29 Jul, 2020 2 commits
  13. 28 Jul, 2020 2 commits