Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Thomas Kluyver
Pycrystfel
Commits
e8014739
Commit
e8014739
authored
Jan 11, 2021
by
Thomas Kluyver
Browse files
Delimit code after progress_bar example
parent
8d6b8417
Changes
2
Hide whitespace changes
Inline
Side-by-side
pycrystfel/bindings.pyx
View file @
e8014739
...
...
@@ -11,6 +11,10 @@ from . cimport crystfel
def
progress_bar
(
val
,
total
,
text
):
crystfel
.
progress_bar
(
val
,
total
,
text
.
encode
())
# --------------------------------------------------------------------------
def
inspect_geom_file
(
path
):
cdef
crystfel
.
detector
*
det
cdef
crystfel
.
beam_params
beam
...
...
pycrystfel/crystfel.pxd
View file @
e8014739
cdef
extern
from
"crystfel/utils.h"
:
void
progress_bar
(
int
val
,
int
total
,
const
char
*
text
)
# --------------------------------------------------------------------------
cdef
extern
from
"crystfel/crystal.h"
:
ctypedef
struct
Crystal
:
pass
# Opaque struct, used through functions
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment