Changeset ffc2a61 in sasmodels for appveyor.yml

Timestamp:
Jan 12, 2018 11:28:11 AM (7 years ago)
Author:
Adam Washington <adam.washington@…>
Branches:
master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
e68bae9
Parents:
71bf6de
Message:

Simplify model parser

The updated model parser uses only a single switch statement and most
parts contain only a single variable. Comparatively, the old version
was execeeding the PEP 8 recommendations for both conditional depth and
number of local variables.

The trade off is that the new parser is recursive. The maximum depth
is four, so we're not in any danger of blowing the stack, but
recussion can add its own kind of complexity.

(No files)

Note: See TracChangeset for help on using the changeset viewer.