blob: a3802ae02e9fc26212f306d62594e64e19dea8aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import subprocess
from gn3.settings import CORRELATION_COMMAND
from gn3.settings import TMPDIR
def run_correlation(file_name: & str, outputdir: str = TMPDIR):
command_list = [CORRELATION_COMMAND, file_name, outputdir]
results = subprocess.run(command_list, check=True)
return results
|