scipion-em / scipion-pyworkflow

Underlying pyworkflow module for the Scipion framework
GNU General Public License v3.0
6 stars 5 forks source link

Invalid project initialization in 'pyworkflow.project.scripts.stop.py' script #526

Closed radverg closed 3 months ago

radverg commented 3 months ago

https://github.com/scipion-em/scipion-pyworkflow/blob/006b5a29200e735d9d279fd43248d9d756bf8c79/pyworkflow/project/scripts/stop.py#L69

Raises exception, since project constructor is not given the domain parameter, which is required.

In schedule script, domain is passed this way and the code works: project = Project(pw.Config.getDomain(), projectPath)