Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP6:Update
python-ligo-lw
ligo-lw-segments-test-fix.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ligo-lw-segments-test-fix.patch of Package python-ligo-lw
Index: python-ligo-lw-1.7.0/ligo/lw/utils/segments.py =================================================================== --- python-ligo-lw-1.7.0.orig/ligo/lw/utils/segments.py +++ python-ligo-lw-1.7.0/ligo/lw/utils/segments.py @@ -397,8 +397,10 @@ class LigolwSegments(set): </Table> </LIGO_LW> >>> xmlsegments = LigolwSegments(xmldoc) - >>> xmlsegments.get_by_name("test") - {'H1': [segment(LIGOTimeGPS(0, 0), LIGOTimeGPS(10, 0))], 'L1': [segment(LIGOTimeGPS(5, 0), LIGOTimeGPS(15, 0))]} + >>> xmlsegments.get_by_name("test")['H1'] + [segment(LIGOTimeGPS(0, 0), LIGOTimeGPS(10, 0))] + >>> xmlsegments.get_by_name("test")['L1'] + [segment(LIGOTimeGPS(5, 0), LIGOTimeGPS(15, 0))] >>> xmlsegments.get_by_name("wrong name") Traceback (most recent call last): ...
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor