aboutsummaryrefslogtreecommitdiff
path: root/gn3/computations/rust_correlation.py
blob: 16af13e182f48ef010de85bfc806426a3195a94a (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