Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
binary_c-python
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Izzard, Robert Dr (Maths & Physics)
binary_c-python
Commits
1b0242ac
Commit
1b0242ac
authored
3 years ago
by
dh00601
Browse files
Options
Downloads
Plain Diff
small changes
parents
a1652bc9
8c3bd317
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
badges/docstring_coverage.svg
+0
-20
0 additions, 20 deletions
badges/docstring_coverage.svg
binarycpython/utils/ensemble.py
+8
-2
8 additions, 2 deletions
binarycpython/utils/ensemble.py
examples/notebook_custom_logging.ipynb
+2
-2
2 additions, 2 deletions
examples/notebook_custom_logging.ipynb
with
10 additions
and
24 deletions
badges/docstring_coverage.svg
deleted
100644 → 0
+
0
−
20
View file @
a1652bc9
<svg
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
width=
"142"
height=
"20"
>
<linearGradient
id=
"s"
x2=
"0"
y2=
"100%"
>
<stop
offset=
"0"
stop-color=
"#bbb"
stop-opacity=
".1"
/>
<stop
offset=
"1"
stop-opacity=
".1"
/>
</linearGradient>
<clipPath
id=
"r"
>
<rect
width=
"142"
height=
"20"
rx=
"3"
fill=
"#fff"
/>
</clipPath>
<g
clip-path=
"url(#r)"
>
<rect
width=
"99"
height=
"20"
fill=
"#555"
/>
<rect
x=
"99"
width=
"43"
height=
"20"
fill=
"#4c1"
/>
<rect
width=
"142"
height=
"20"
fill=
"url(#s)"
/>
</g>
<g
fill=
"#fff"
text-anchor=
"middle"
font-family=
"Verdana,Geneva,DejaVu Sans,sans-serif"
font-size=
"110"
>
<text
x=
"505"
y=
"150"
fill=
"#010101"
fill-opacity=
".3"
transform=
"scale(.1)"
textLength=
"890"
>
docstr-coverage
</text>
<text
x=
"505"
y=
"140"
transform=
"scale(.1)"
textLength=
"890"
>
docstr-coverage
</text>
<text
x=
"1195"
y=
"150"
fill=
"#010101"
fill-opacity=
".3"
transform=
"scale(.1)"
>
100%
</text>
<text
x=
"1195"
y=
"140"
transform=
"scale(.1)"
>
100%
</text>
</g>
</svg>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
binarycpython/utils/ensemble.py
+
8
−
2
View file @
1b0242ac
...
...
@@ -288,8 +288,14 @@ def binaryc_json_serializer(obj: Any) -> Any:
if
inspect
.
isfunction
(
obj
)
or
isinstance
(
obj
,
py_rinterpolate
.
Rinterpolate
):
return
str
(
obj
)
return
obj
else
:
try
:
string_version
=
str
(
obj
)
return
string_version
except
:
raise
TypeError
(
"
Unserializable object {} of type {}. Attempted to convert to string but that failed.
"
.
format
(
obj
,
type
(
obj
))
)
class
BinarycDecoder
(
json
.
JSONDecoder
):
"""
...
...
This diff is collapsed.
Click to expand it.
examples/notebook_custom_logging.ipynb
+
2
−
2
View file @
1b0242ac
...
...
@@ -465,7 +465,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 3
(ipykernel)
",
"language": "python",
"name": "python3"
},
...
...
@@ -479,7 +479,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.
6.4
"
"version": "3.
9.9
"
}
},
"nbformat": 4,
...
...
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