nielsboecker / HoloRepository-Core

A system for transforming medical imaging studies into holograms, storing them in the cloud and providing them to other systems.
GNU Affero General Public License v3.0
6 stars 8 forks source link

PIPELINE: Subprocess calls break module structure #58

Closed nielsboecker closed 5 years ago

nielsboecker commented 5 years ago

The way pipelineController is used to invoke other Python files as a subprocess is breaking things. For example, when the pipeline is at HoloPipelines/core/pipelines/pipelineFoo.py, this will break an import like import core.services.foobar because it is not inside the module search path. Has to be fixed either by changing the module search path manually or replacing the whole subprocess calling (will probably do the latter as it leads to many bugs like this and unreadable code).

nielsboecker commented 5 years ago

This will be changed and fixed with #45