Changeset 678 for mds-and-trees
- Timestamp:
- 08/27/17 15:11:36 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
mds-and-trees/tree-genealogy.py
r677 r678 577 577 578 578 def normalize_prop(self, prop): 579 noneless = [v for v in self.props[prop] if type(v)!=str]579 noneless = [v for v in self.props[prop] if (type(v)!=str and type(v)!=list)] 580 580 if len(noneless) > 0: 581 581 max_val = max(noneless)
Note: See TracChangeset
for help on using the changeset viewer.