Skip to content

Commit

Permalink
fix lowercase in normalization variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
maxibor committed Jul 9, 2019
1 parent 0f75504 commit fb5ac07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sourcepredict
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ if __name__ == "__main__":

print("Step 2: Checking for source proportion")
sm = sourcemap(source=SOURCES, sink=SINK, labels=LABELS,
norm_method=NORMALIZATION, threads=THREADS)
norm_method=normalization, threads=THREADS)
print(f"\tComputing {distance_method} distance on {tax_rank} rank")
sm.compute_distance(distance_method=distance_method, rank=tax_rank)
print(f"\t{embed_method} embedding in {DIM} dimension{utils.plural(DIM)}")
Expand Down
2 changes: 1 addition & 1 deletion sourcepredictlib/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def check_norm(method):
methods = ['RLE', 'SUBSAMPLE', 'GMPR']
method = method.upper()
if method not in methods:
print("Please check the normalization method (RLE or Subsample)")
print("Please check the normalization method (GMPR, RLE, or Subsample)")
sys.exit(1)
else:
return(method)
Expand Down

0 comments on commit fb5ac07

Please sign in to comment.