diff --git a/pycbc/workflow/pegasus_workflow.py b/pycbc/workflow/pegasus_workflow.py index 0a4a6ef4ffd..ba75b3d74ea 100644 --- a/pycbc/workflow/pegasus_workflow.py +++ b/pycbc/workflow/pegasus_workflow.py @@ -806,7 +806,7 @@ def set_subworkflow_properties(self, output_map_file, if version.parse(sproc_out) >= version.parse('5.0.4'): output_map_file.for_planning=True except: - print("Could not execute pegasus-version, assuming >= 5.0.4") + logging.warning("Could not execute pegasus-version, assuming >= 5.0.4") output_map_file.for_planning=True self.add_inputs(output_map_file)