diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2020-10-22 20:15:46 +0200 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2020-10-22 20:15:46 +0200 |
commit | 2b216f17fccf6ff90b41ca972bf1730078cc6180 (patch) | |
tree | 4cf53ef1d9cec359e81251eebbd6aff2ad04b4b5 /fuzzycat/cluster.py | |
parent | 38b45bc6738b0d53326ee6a62dff15fcb62cfa9c (diff) | |
download | fuzzycat-2b216f17fccf6ff90b41ca972bf1730078cc6180.tar.gz fuzzycat-2b216f17fccf6ff90b41ca972bf1730078cc6180.zip |
update notes on cluster, nb
Diffstat (limited to 'fuzzycat/cluster.py')
-rw-r--r-- | fuzzycat/cluster.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fuzzycat/cluster.py b/fuzzycat/cluster.py index 3b7f3f5..6c68bfc 100644 --- a/fuzzycat/cluster.py +++ b/fuzzycat/cluster.py @@ -48,6 +48,7 @@ DEFAULT_CACHE_DIR = os.path.join(os.path.expanduser("~"), ".cache", "fuzzycat") def sort_by_column(filename, mode="w", opts="-k 2", fast=True, prefix="fuzzycat-"): """ Sort tabular file with sort(1), returns the filename of the sorted file. + XXX: use separate /fast/tmp for sort. """ with tempfile.NamedTemporaryFile(delete=False, mode=mode, prefix=prefix) as tf: env = os.environ.copy() |