CAMeL-Lab / palmyra

MIT License
9 stars 2 forks source link

direction not read from config file #33

Open muhammed-abuodeh opened 1 year ago

muhammed-abuodeh commented 1 year ago

Describe the bug When uploading a conll file, the first tree is displayed in the default direction (right to left). If a config and conll file are uploaded together, the direction should be read from the config file, only it is not; a config file with the direction left to right will be ignored until the tree is edited.

To Reproduce Upload a config file (along with the conll file) with the direction left to right.

Expected behavior The first tree displayed should have the direction left to right.

muhammed-abuodeh commented 1 year ago

direction read and set but after tree is constructed. Should read config first

muhammed-abuodeh commented 1 year ago

when fixing, make sure it is fixed when reading conll files, as well as typing sentences.