diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2014-06-17 16:09:23 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2014-06-19 16:12:27 +0000 |
commit | 7b721a81d6fe695f1bae86d43d65d04c971707e7 (patch) | |
tree | 6835f50aed317231f84fcf51cc2afca44c805628 /morphlib/morphset_tests.py | |
parent | 4af4ff9e013680de3424d0538ddfbf4ce9996f0e (diff) | |
download | morph-7b721a81d6fe695f1bae86d43d65d04c971707e7.tar.gz |
Don't assume morphologies end in .morph
We occasionally need to load every morphology in the repository, e.g.
morph edit needs to change every morphology that references that chunk.
We used to do this by loading everything that ended in `.morph`, but
if we're moving to allowing morphologies to have arbitrary filenames,
there's no suitable metric other than "this file will successfully
validate as a morphology".
So, the morphologyfinder module is no longer appropriate, and the
responsibility for working out what is a valid morphology has been
shifted to the SystemBranchDirectory class, which is used to having to
load all the morphologies.
Diffstat (limited to 'morphlib/morphset_tests.py')
0 files changed, 0 insertions, 0 deletions