diff options
author | zsloan | 2018-04-16 22:23:19 +0000 |
---|---|---|
committer | zsloan | 2018-04-16 22:23:19 +0000 |
commit | 35913e15bb6ac93c429e9465ebc36215cc6350ea (patch) | |
tree | d0eaff3a15bb167d995f1459ee7e744697f137b3 /wqflask/base | |
parent | 273b79a0c2096a2eae5ce9aa2800917437459f68 (diff) | |
parent | f511e38a9b440d08313471cdcc7bfd99add98f70 (diff) | |
download | genenetwork2-35913e15bb6ac93c429e9465ebc36215cc6350ea.tar.gz |
Resolved conflicts after pulling changes
Diffstat (limited to 'wqflask/base')
-rw-r--r-- | wqflask/base/anon_collection.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wqflask/base/anon_collection.py b/wqflask/base/anon_collection.py index 8ee73296..dd1aa27f 100644 --- a/wqflask/base/anon_collection.py +++ b/wqflask/base/anon_collection.py @@ -1,6 +1,6 @@ class AnonCollection(TraitCollection):
- def __init__(self, anon_id)
+ def __init__(self, anon_id):
self.anon_id = anon_id
self.collection_members = Redis.smembers(self.anon_id)
print("self.collection_members is:", self.collection_members)
@@ -12,6 +12,7 @@ class AnonCollection(TraitCollection): print("traits_to_remove:", traits_to_remove)
for trait in traits_to_remove:
Redis.srem(self.anon_id, trait)
+
members_now = self.collection_members - traits_to_remove
print("members_now:", members_now)
print("Went from {} to {} members in set.".format(len(self.collection_members), len(members_now)))
|