ModuleNotFoundError with custom submodule

Hi there,

I’m working on adding module to our galaxy workflow. We’ve strayed from the beaten path and are running galaxy from docker and I want the module to be in a separate directory from galaxy in that the custom module is a git submodule. If this won’t work please let me know. I’m having an issue with what I believe is the pythonpath, traceback is below:

Traceback (most recent call last):
  File "/galaxy-central/FlowTracking/actions/chain.py", line 3, in <module>
    from main.voronoi import Track, parse_csv
ModuleNotFoundError: No module named 'main'

I’m not sure how to resolve this error. Does galaxy look for init.py in the directories, should I edit an xml file? Eager for suggestions.

Thanks,
Josh