Mouse-Imaging-Centre / pydpiper

Python code for flexible pipeline control
Other
25 stars 10 forks source link

pipeline.log file #236

Open psteadman opened 8 years ago

psteadman commented 8 years ago

A minor observation, if you dont run a pipeline but just do something like MBM.py -h a pipeline.log file is created or written to. Wondering if its easy to only write to this file if a pipeline actual is initiated?

psteadman commented 7 years ago

Created when from pydpiper.execution.pipeline import Pipeline, pipelineDaemon is called in application.py and all so the only way to fix this is to move the logging instances to a function or main that is only called when an actual pipeline is constructed, rather than when MBM.py -h or something where a pipeline wont be constructed is passed on commandline.