eXascaleInfolab / PyCABeM

Python Benchmarking Framework for the Clustering Algorithms Evaluation: networks generation and shuffling; failover execution and resource consumption tracing (peak RAM RSS, CPU, ...); evaluation of Modularity, conductance, NMI and F1 Score for overlapping communities
Other
19 stars 4 forks source link

Handle path wildcards on all Python versions correctly #11

Open luav opened 8 years ago

luav commented 8 years ago

escapePathWildcards() is implemented via glob.escape(), which exists not in all Python versions. Implement it manually when it is not provided by Python.

PS Required only to correctly handle wildcards in the path, which occurs extremely seldom.