aboutsummaryrefslogtreecommitdiff
path: root/gn3/computations
diff options
context:
space:
mode:
Diffstat (limited to 'gn3/computations')
-rw-r--r--gn3/computations/partial_correlations.py2
-rw-r--r--gn3/computations/qtlreaper.py2
-rw-r--r--gn3/computations/rust_correlation.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/gn3/computations/partial_correlations.py b/gn3/computations/partial_correlations.py
index 597c5a3..9f02ad2 100644
--- a/gn3/computations/partial_correlations.py
+++ b/gn3/computations/partial_correlations.py
@@ -17,7 +17,7 @@ import pingouin
from scipy.stats import pearsonr, spearmanr
from gn3.settings import TEXTDIR
-from gn3.random import random_string
+from gn3.chancy import random_string
from gn3.function_helpers import compose
from gn3.data_helpers import parse_csv_line
from gn3.db.datasets import retrieve_trait_dataset
diff --git a/gn3/computations/qtlreaper.py b/gn3/computations/qtlreaper.py
index b61bdae..981a9c8 100644
--- a/gn3/computations/qtlreaper.py
+++ b/gn3/computations/qtlreaper.py
@@ -6,7 +6,7 @@ import os
import subprocess
from typing import Union
-from gn3.random import random_string
+from gn3.chancy import random_string
from gn3.settings import TMPDIR, REAPER_COMMAND
def generate_traits_file(samples, trait_values, traits_filename):
diff --git a/gn3/computations/rust_correlation.py b/gn3/computations/rust_correlation.py
index bd6fe97..546da0e 100644
--- a/gn3/computations/rust_correlation.py
+++ b/gn3/computations/rust_correlation.py
@@ -10,7 +10,7 @@ import csv
import os
from gn3.computations.qtlreaper import create_output_directory
-from gn3.random import random_string
+from gn3.chancy import random_string
from gn3.settings import CORRELATION_COMMAND
from gn3.settings import TMPDIR