Commit 77cf6e5c authored by Theophile GENTILHOMME's avatar Theophile GENTILHOMME

replace ntpath by os.path

parent 0781e166
Pipeline #19145 canceled with stage
in 18 minutes and 55 seconds
......@@ -3,7 +3,7 @@
from __future__ import division, print_function
from abc import ABCMeta, abstractmethod
import sys
import ntpath
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 = ntpath.split(file_path)
name = os.path.basename(file_path)
res.append(name.split(".")[0])
return res
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment