Skip to content

Commit

Permalink
Enable creation of entities with non-string attributes (multi-card ge…
Browse files Browse the repository at this point in the history
…ne/other-names #304)
  • Loading branch information
mluypaert committed Jul 10, 2020
1 parent 29bdc50 commit d9f9940
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wormbase/names/entity.clj
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
(defn remove-entities-with-blank-values
[data]
(reduce-kv (fn [m k v]
((if (str/blank? v)
((if (and (string? v) (str/blank? v))
dissoc
assoc) m k v))
{}
Expand Down

0 comments on commit d9f9940

Please sign in to comment.