Skip to content

LPhy v0.0.3

Compare
Choose a tag to compare
@walterxie walterxie released this 22 Apr 01:43
· 1554 commits to master since this release

The available functions and models can be https://github.com/LinguaPhylo/linguaPhylo/blob/0.0.3/doc/index.md

Important change to handle the relative path:

Every time after loading a script file, LPhy Studio will set user.dir to the folder containing this file. This folder will be used as the reference when the data path inside the scrips is a relative path. So, for a LPhy script, the relative path is always referring to the folder where it is. Then the data can be easily organized with the scripts together. Please see https://github.com/LinguaPhylo/linguaPhylo/blob/0.0.3/tutorials/RSV2.lphy and https://github.com/LinguaPhylo/linguaPhylo/blob/0.0.3/examples/fullDataExample.lphy, etc.

CMD using the absolute path:
java -jar LPhy.v0.0.3.jar ~/WorkSpace/linguaPhylo/tutorials/RSV2.lphy

CMD using the relative path:

cd ~/WorkSpace/linguaPhylo/tutorials/
java -jar $JAR_PATH/LPhy.v0.0.3.jar RSV2.lphy

The data is in ~/WorkSpace/linguaPhylo/tutorials/data/RSV2.nex.