From bd83267998e82a7422b81a0770dab8f402d55b42 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Wed, 6 Mar 2024 19:03:26 +0100 Subject: [PATCH] Get rid of obsolete soma.subprocess --- capsul/pipeline/pipeline_tools.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/capsul/pipeline/pipeline_tools.py b/capsul/pipeline/pipeline_tools.py index af248c71..7c82f9e5 100644 --- a/capsul/pipeline/pipeline_tools.py +++ b/capsul/pipeline/pipeline_tools.py @@ -40,10 +40,10 @@ import dataclasses import json import os +import subprocess import sys import tempfile -import soma.subprocess from populse_db import json_decode, json_encode from soma.controller import Any, Controller, undefined @@ -612,7 +612,7 @@ def save_dot_image( formats = {"txt": "plain"} format = formats.get(ext, ext) cmd = ["dot", "-T%s" % ext, "-o", filename, dot_filename] - soma.subprocess.check_call(cmd) + subprocess.check_call(cmd) os.unlink(dot_filename)