On Thu, May 31, 2018 at 2:20 PM, vitalije <[email protected]> wrote:

> Anyway, LeoTreeModel should check if the gnxes are different and insert
>> node accordingly.
>>
>> Done. I have added method changeGnx(oldgnx, newgnx) to LeoTreeModel and
> loading external files now checks to see if the gnx in xml and in external
> files match or not. If not, gnx from the external file is used.
>
> After this change, in test_data_model.py following check passes:
> ltm2 = loadLeoFull(os.path.join(LEOCORE, 'leoPy.leo'))
> test_tree_is_correct(ltm2)
> print('leoPy.leo loaded properly')
>
> ​Thanks for this.  It's time we had a way of sharing our work via git.


I have just created the leo-model repository
<https://github.com/leo-editor/leo-model>.  At present, it has only a
master branch. ​
Please clone it and merge in your work, in whatever branch you like.


Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to