genotoul-bioinfo / dgenies

Dotplot large Genomes in an Interactive, Efficient and Simple way
http://dgenies.toulouse.inrae.fr
GNU General Public License v3.0
97 stars 12 forks source link

Simplify access to maintenance scripts #103

Open pbordron opened 10 months ago

pbordron commented 10 months ago

Scripts dgenies/bin/clean_jobs.py and dgenies/bin/local_scheduler.py are not easily accessible. For example, the full path of clean_jobs.py in a virtualenv is the following:

/usr/local/venv/dgenies/lib/python3.6/site-packages/dgenies-1.5.0-py3.6.egg/dgenies/bin/clean_jobs.py

Possibles solutions:

See #63 #68

pbordron commented 10 months ago

Maybe rename local_scheduler.py into dgenies-scheduler.py

Also maybe only add maintenance scripts in PATH if package installed with dgenies[web] or dgenies[drmaa] In maintenance mode, it is may be not required as there is no db