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
bob
bob.measure
Commits
77cf6e5c
Commit
77cf6e5c
authored
Apr 18, 2018
by
Theophile GENTILHOMME
Browse files
replace ntpath by os.path
parent
0781e166
Pipeline
#19145
canceled with stage
in 18 minutes and 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/measure/script/figure.py
View file @
77cf6e5c
...
...
@@ -3,7 +3,7 @@
from
__future__
import
division
,
print_function
from
abc
import
ABCMeta
,
abstractmethod
import
sys
import
nt
path
import
os.
path
import
click
import
matplotlib
import
matplotlib.pyplot
as
mpl
...
...
@@ -166,7 +166,7 @@ class MeasureBase(object):
return
None
res
=
[]
for
file_path
in
filenames
:
_
,
name
=
nt
path
.
split
(
file_path
)
name
=
os
.
path
.
basename
(
file_path
)
res
.
append
(
name
.
split
(
"."
)[
0
])
return
res
...
...
Write
Preview
Supports
Markdown
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