From 2352dd4a9840cb3761b0efac10096c0a297b2ce1 Mon Sep 17 00:00:00 2001 From: Tito Dal Canton Date: Wed, 22 Jan 2025 11:15:25 +0100 Subject: [PATCH] Update a comment and docstring --- pycbc/io/ligolw.py | 2 +- pycbc/io/record.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pycbc/io/ligolw.py b/pycbc/io/ligolw.py index 59b6a60ab5d..7f52d3578c0 100644 --- a/pycbc/io/ligolw.py +++ b/pycbc/io/ligolw.py @@ -144,7 +144,7 @@ def create_process_table(document, program_name=None, detectors=None, if options is None: options = {} - # ligo.lw does not like `cvs_entry_time` being an empty string + # igwn_ligolw does not like `cvs_entry_time` being an empty string cvs_entry_time = pycbc_version.date or None opts = options.copy() diff --git a/pycbc/io/record.py b/pycbc/io/record.py index b8e3db5e9ef..fac126bce61 100644 --- a/pycbc/io/record.py +++ b/pycbc/io/record.py @@ -708,7 +708,7 @@ def bar(self): Convert a LIGOLW xml table: >>> type(sim_table) - ligo.lw.lsctables.SimInspiralTable + igwn_ligolw.lsctables.SimInspiralTable >>> sim_array = FieldArray.from_ligolw_table(sim_table) >>> sim_array.mass1 array([ 2.27440691, 1.85058105, 1.61507106, ..., 2.0504961 ,