Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.io.video
Commits
5da379dc
Commit
5da379dc
authored
Aug 29, 2014
by
Manuel Günther
Browse files
Switched create_directories_save to ..._safe.
parent
1ae7ee2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
bob/io/video/script/video_test.py
View file @
5da379dc
...
@@ -24,7 +24,7 @@ import numpy
...
@@ -24,7 +24,7 @@ import numpy
# from bob
# from bob
from
bob.io.base
import
save
as
save_to_file
from
bob.io.base
import
save
as
save_to_file
from
bob.io.base
import
create_directories_sa
v
e
from
bob.io.base
import
create_directories_sa
f
e
# internal
# internal
from
..
import
utils
,
test_utils
from
..
import
utils
,
test_utils
...
@@ -440,7 +440,7 @@ def main(user_input=None):
...
@@ -440,7 +440,7 @@ def main(user_input=None):
size
=
'%dx%dx%d@%gHz'
%
(
args
.
length
,
args
.
height
,
args
.
width
,
size
=
'%dx%dx%d@%gHz'
%
(
args
.
length
,
args
.
height
,
args
.
width
,
args
.
framerate
)
args
.
framerate
)
outdir
=
os
.
path
.
join
(
args
.
output
,
test
,
codec
,
size
,
format
)
outdir
=
os
.
path
.
join
(
args
.
output
,
test
,
codec
,
size
,
format
)
create_directories_sa
v
e
(
outdir
)
create_directories_sa
f
e
(
outdir
)
try
:
try
:
result
=
detail
(
f
,
(
args
.
length
,
args
.
height
,
args
.
width
),
result
=
detail
(
f
,
(
args
.
length
,
args
.
height
,
args
.
width
),
...
...
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