Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • duncan.meacher/gwdatafind
  • duncanmmacleod/gwdatafind
  • computing/gwdatafind/client
3 results
Show changes
Commits on Source (2)
......@@ -21,7 +21,7 @@ install:
# create new environment
- appveyor-retry conda create --quiet --yes --name ci
"igwn-auth-utils>=0.1.1"
"ligo-segments>=1.0.0"
"igwn-segments>=2.0.0"
"pip"
"pytest>=6.0"
"pytest-cov"
......
......@@ -13,7 +13,7 @@ Build-Depends:
python3-all,
python3-argparse-manpage,
python3-igwn-auth-utils (>= 0.3.1),
python3-ligo-segments,
python3-igwn-segments,
python3-pytest (>= 2.8.0),
python3-requests-mock,
python3-setuptools,
......@@ -26,7 +26,7 @@ Depends:
${misc:Depends},
${python3:Depends},
python3-igwn-auth-utils (>= 0.3.1),
python3-ligo-segments,
python3-igwn-segments,
Description: GW data discovery Python 3 library
The DataFind service allows users to query for the location of
Gravitational-Wave Frame (GWF) files containing data from the
......
......@@ -44,8 +44,8 @@ intersphinx_mapping = {
"https://igwn-auth-utils.readthedocs.io/en/stable/",
None,
),
"ligo-segments": (
"https://lscsoft.docs.ligo.org/ligo-segments/",
"igwn-segments": (
"https://igwn-segments.readthedocs.io/en/stable/",
None,
),
"python": (
......
......@@ -22,7 +22,7 @@ import argparse
import re
import sys
from ligo import segments
import igwn_segments as segments
from . import (
__version__,
......
......@@ -27,7 +27,7 @@ from json import loads
from urllib.error import HTTPError
from urllib.parse import urlparse
from ligo import segments
import igwn_segments as segments
from . import api
from .utils import (
......@@ -274,7 +274,7 @@ class HTTPConnection(http_client.HTTPConnection):
Returns
-------
segments : `ligo.segments.segmentlist`
segments : `igwn_segments.segmentlist`
the list of `[start, stop)` intervals for which files are
available.
"""
......
......@@ -23,7 +23,7 @@ from unittest import mock
from urllib.error import HTTPError
import pytest
from ligo.segments import (
from igwn_segments import (
segment,
segmentlist,
)
......
......@@ -24,7 +24,7 @@ from io import StringIO
from unittest import mock
import pytest
from ligo.segments import segment
from igwn_segments import segment
from .. import __main__ as main
......
......@@ -19,8 +19,8 @@ import warnings
from functools import partial
from unittest import mock
import igwn_segments as segments
import pytest
from ligo import segments
from .. import (
api,
......
......@@ -27,9 +27,9 @@ from re import compile as compile_regex
from urllib.parse import urlparse
from warnings import warn
import igwn_segments as segments
import requests
from igwn_auth_utils.requests import get as _get
from ligo import segments
from . import api
from .utils import (
......
......@@ -23,7 +23,7 @@ import os
import warnings
from igwn_auth_utils import x509 as igwn_x509
from ligo.segments import segment
from igwn_segments import segment
def get_default_host():
......@@ -144,7 +144,7 @@ def filename_metadata(filename):
tag : `str`
the file tag
segment : `ligo.segments.segment`
segment : `igwn_segments.segment`
the GPS ``[start, stop)`` interval for this file
Notes
......@@ -169,7 +169,7 @@ def file_segment(filename):
Returns
-------
segment : `~ligo.segments.segment`
segment : `~igwn_segments.segment`
the ``[start, stop)`` GPS segment covered by the given file
"""
return filename_metadata(filename)[2]
......@@ -36,7 +36,7 @@ classifiers = [
requires-python = ">=3.6"
dependencies = [
"igwn-auth-utils >=0.3.1",
"ligo-segments",
"igwn-segments",
]
dynamic = [
"version",
......
......@@ -24,7 +24,7 @@ BuildRequires: python3dist(wheel)
# man pages
BuildRequires: python3dist(argparse-manpage)
BuildRequires: python3dist(igwn-auth-utils) >= 0.3.1
BuildRequires: python3dist(ligo-segments)
BuildRequires: python3dist(igwn-segments)
# testing dependencies
BuildRequires: man-db
......@@ -62,7 +62,7 @@ libraries.
%package -n python3-%{srcname}
Summary: Python %{python3_version} library for the GWDataFind service
Requires: python3dist(igwn-auth-utils) >= 0.3.1
Requires: python3dist(ligo-segments)
Requires: python3dist(igwn-segments)
%description -n python3-%{srcname}
The DataFind service allows users to query for the location of
Gravitational-Wave Frame (GWF) files containing data from the current
......@@ -93,7 +93,7 @@ packages = find:
python_requires = >=3.6
install_requires =
igwn-auth-utils >= 0.3.1
ligo-segments
igwn-segments >= 2.0.0
[options.entry_points]
console_scripts =
gw_data_find = gwdatafind.__main__:main
......