Gauntlet173 / docassemble-openlcbr

A docassemble package for case outcome prediction using the analogical reasoning features of openlcbr.
MIT License
12 stars 4 forks source link

Sets not output correctly #1

Closed Gauntlet173 closed 6 years ago

Gauntlet173 commented 6 years ago

Python sets are not displaying correctly in the output of db_builder.yml.

Gauntlet173 commented 6 years ago

So YAML doesn't have a native set element, because it doesn't guaratee uniqueness. The sections of IBP that use the elements formatted in {A, B} style were all using "set()". I tested it using a YAML list, and it worked, so changed the code to generate YAML lists in the place of curly-bracket sets in #0.3.2.