[hdf-compass] 09/295: removing unnecessary comments, formatting
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Sun May 8 10:35:19 UTC 2016
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/master
in repository hdf-compass.
commit 2268cebf0d56c8dcc600ced989d529817b69b398
Author: Matt Comerford <matthew.comerford at colorado.edu>
Date: Fri Jun 20 17:06:02 2014 -0600
removing unnecessary comments, formatting
---
asc_model/__init__.py | 4 ----
1 file changed, 4 deletions(-)
diff --git a/asc_model/__init__.py b/asc_model/__init__.py
index 63e812e..445cfde 100644
--- a/asc_model/__init__.py
+++ b/asc_model/__init__.py
@@ -72,12 +72,10 @@ class Directory(compass_model.Container):
def canhandle(store, key):
return op.isdir(key)
- #LIST COMPREHENSION for self._names
def __init__(self, store, key):
self._store = store
self._key = key
try:
- #self._names = os.listdir(key)
self._names = [s for s in os.listdir(key) if s.endswith('.asc') or op.isdir(op.join(key, s))]
except OSError:
self._names = []
@@ -174,8 +172,6 @@ class Attributes(compass_model.KeyValue):
'yllcorner': float(linecache.getline(self._key, 4).lstrip("yllcorner")),
'xllcorner': float(linecache.getline(self._key, 3).lstrip("xllcorner"))}
-#'a': np.array((1,2)), 'b': np.array("Hello"), 'c': np.array('\x01', dtype='|V1')
-
@property
def key(self):
return self._key
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/hdf-compass.git
More information about the debian-science-commits
mailing list