dpritchard / frair

Tools for Functional Response Analysis
8 stars 3 forks source link

Reduce code duplication within the FR families #24

Open dpritchard opened 8 years ago

dpritchard commented 8 years ago

Currently each of the Functional Response "Families" have a lot of duplicated (via copy-and-paste) code.

This is not sustainable as the number of families grows. We need to identify common code and spool this logic out into seperate functions.

This needs to wait until we have 100% test coverage, so we don't break anything.

dpritchard commented 8 years ago

A related note from the archive:

Reduce copy-and-paste between type-II and type-III curves (which are basically just the same, save 'a' estimates).