anndata: Fixed -d bug.
authorFredrik Tolf <fredrik@dolda2000.com>
Mon, 30 Dec 2019 00:39:50 +0000 (01:39 +0100)
committerFredrik Tolf <fredrik@dolda2000.com>
Mon, 30 Dec 2019 00:39:50 +0000 (01:39 +0100)
anndata

diff --git a/anndata b/anndata
index 76b88a0..26e44db 100755 (executable)
--- a/anndata
+++ b/anndata
@@ -27,7 +27,7 @@ if lsn is not None:
         sys.stdout.write("%s\n" % s.rawname)
 else:
     if here:
         sys.stdout.write("%s\n" % s.rawname)
 else:
     if here:
-        nm = os.path.basename(os.getcwd)
+        nm = os.path.basename(os.getcwd())
     else:
         if len(args) < 1:
             usage(sys.stderr)
     else:
         if len(args) < 1:
             usage(sys.stderr)