weberlab-hhu / Helixer

Using Deep Learning to predict gene annotations
GNU General Public License v3.0
140 stars 20 forks source link

Enable Helixer.py execution from different directory and removal of duplicate test #84

Closed soi closed 2 years ago

alisandra commented 2 years ago

This works if you provide the full path to Helixer.py or if it's installed with pip install -e . as this just points to Helixer.py in the repository, but not if it's installed with pip install ., which actually copies Helixer.py.

Certainly we need to provide flexibility here, I will have to think about it the best way to do it.

alisandra commented 2 years ago

What do you think about making a $HOME/.helixer/models directory or similar, and always defaulting to this location unless the user specifies otherwise?

This would also give us a default location for the config file (e.g. $HOME/.helixer/config).

alisandra commented 2 years ago

$HOME/.local/share/Helixer/models

soi commented 2 years ago

Good idea, that is a better solution.