I am creating a new tool for galaxy based on the NEAT-genReads tool from Zachary Stephens and I am trying to define the dependencies.
The tool requires the matplotlib.pyplot library since it calls out this import statement:
import matplotlib.pyplot as mpl
I defined the dependency for the tool like this in the tool XML file:
<requirement type="package">matplotlib</requirement>
But when I look at the log files I see it installing Python version 3.6 instead of using the python 2 version that is need...
So, when the tool runs, it complains that it cannot find the correct module
Fatal error: Exit code 1 ()
Traceback (most recent call last):
File "/opt/galaxy/tools/neat-genreads/utilities/genMutModel.py", line 10, in <module>
import matplotlib.pyplot as mpl
ImportError: No module named matplotlib.pyplot
How do I force galaxy to install the python 2 version of matplotlib?