Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GstLAL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
lscsoft
GstLAL
Commits
26b9f490
Commit
26b9f490
authored
2 years ago
by
Prathamesh Joshi
Committed by
Rebecca Ewing
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
gstlal_ll_inspiral_gracedb_threshold: python3 bytes string io encoding error
parent
9a32e168
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!209
O4 Online
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gstlal-inspiral/bin/gstlal_ll_inspiral_gracedb_threshold
+2
-2
2 additions, 2 deletions
gstlal-inspiral/bin/gstlal_ll_inspiral_gracedb_threshold
with
2 additions
and
2 deletions
gstlal-inspiral/bin/gstlal_ll_inspiral_gracedb_threshold
+
2
−
2
View file @
26b9f490
...
...
@@ -80,7 +80,7 @@ options, filenames = parse_command_line()
if
options
.
gracedb_far_threshold
is
not
None
:
post_data
=
urllib
.
parse
.
urlencode
({
"
rate
"
:
options
.
gracedb_far_threshold
})
post_data
=
urllib
.
parse
.
urlencode
({
"
rate
"
:
options
.
gracedb_far_threshold
})
.
encode
(
'
utf-8
'
)
else
:
post_data
=
None
...
...
@@ -97,7 +97,7 @@ urls = set("%sgracedb_far_threshold.txt" % url.strip() for filename in filenames
for
url
in
sorted
(
urls
):
print
(
"
%s:
"
%
url
)
for
line
in
urllib
.
request
.
urlopen
(
url
,
data
=
post_data
):
OK
&=
"
error
"
not
in
line
OK
&=
"
error
"
.
encode
(
'
utf-8
'
)
not
in
line
print
(
"
\t
%s
"
%
line
.
strip
())
if
not
OK
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment