Skip to content

Commit e8e389a

Browse files
committed
Merge branch 'absolutepaths' of https://github.com/mmaiers-nmdp/py-graph-imputation into mmaiers-nmdp-absolutepaths
2 parents 667b5b3 + 4828265 commit e8e389a

File tree

11 files changed

+5
-393717
lines changed

11 files changed

+5
-393717
lines changed

conf/minimal-configuration.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,5 @@
5151
"imputation_out_miss_filename": "don.miss",
5252
"imputation_out_problem_filename": "don.problem",
5353
"max_haplotypes_number_in_phase": 100,
54-
"imuptation_out_path": "output"
54+
"imputation_out_path": "output"
5555
}

graph_generation/generate_hpf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import pathlib
55
import argparse
66

7-
project_dir = "./"
7+
project_dir = ""
88

99
parser = argparse.ArgumentParser()
1010
parser.add_argument(
@@ -32,7 +32,7 @@
3232

3333

3434
# Create output directory if it doesn't exist
35-
pathlib.Path(output_dir).mkdir(parents=False, exist_ok=True)
35+
pathlib.Path(output_dir).mkdir(parents=True, exist_ok=True)
3636

3737
# Display the configurations we are using
3838
print(

graph_generation/generate_neo4j_multi_hpf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ def make_allele_list(haplotype, full_name_index_dict, num_of_alleles):
6262
sorted_h1 = ["0"] * num_of_alleles
6363
for allele in hl:
6464
locus = allele.split("*")[0]
65+
# print(allele, hl)
6566
sorted_h1[full_name_index_dict[locus] - 1] = allele
6667
return sorted_h1
6768

0 commit comments

Comments
 (0)