Skip to content

Commit abc82cb

Browse files
committed
fixed the typo and made the changes as suggsested
1 parent 414a3aa commit abc82cb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/anoph/conftest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def simulate_exons(
294294
# keep things simple for now.
295295
if strand == "-":
296296
# Take exons in reverse order.
297-
exons == exons[::-1]
297+
exons = exons[::-1]
298298
for exon_ix, exon in enumerate(exons):
299299
first_exon = exon_ix == 0
300300
last_exon = exon_ix == len(exons) - 1
@@ -612,7 +612,7 @@ def simulate_cnv_hmm(zarr_path, metadata_path, contigs, contig_sizes):
612612
# - samples [1D array] [str]
613613

614614
# Get a random probability for a sample being high variance, between 0 and 1.
615-
p_variance = np.random.random()
615+
p_variance = 0.1
616616

617617
# Open a zarr at the specified path.
618618
root = zarr.open(zarr_path, mode="w")
@@ -828,7 +828,7 @@ def simulate_cnv_discordant_read_calls(zarr_path, metadata_path, contigs, contig
828828
# - samples [1D array] [str for n_samples]
829829

830830
# Get a random probability for a sample being high variance, between 0 and 1.
831-
p_variance = np.random.random()
831+
p_variance = 0.1
832832

833833
# Get a random probability for choosing allele 1, between 0 and 1.
834834
p_allele = np.random.random()

0 commit comments

Comments
 (0)