Skip to content

Commit

Permalink
fix: update compare_counts.py to user newer pyroe
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Patro committed May 31, 2022
1 parent 39d9ca2 commit 91555f7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/testing/compare_counts.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ def compare_quants(args):
usa_mode = mode_ng_ref[0]
odict = None
if usa_mode:
a = load_fry.load_fry(ref_quant_dir, output_format='raw')
b = load_fry.load_fry(test_quant_dir, output_format='raw')
a = load_fry(ref_quant_dir, output_format='raw')
b = load_fry(test_quant_dir, output_format='raw')

odict = { "nobs_ref" : a.n_obs, "nobs_test" : b.n_obs }

Expand All @@ -62,8 +62,8 @@ def compare_quants(args):
odict['obs_ref-obs_test'] = list(a.obs_names.difference(b.obs_names))
odict['obs_test-obs_ref'] = list(b.obs_names.difference(a.obs_names))
else:
a = load_fry.load_fry(ref_quant_dir, output_format='raw')
b = load_fry.load_fry(test_quant_dir, output_format='raw')
a = load_fry(ref_quant_dir, output_format='raw')
b = load_fry(test_quant_dir, output_format='raw')

odict = { "nobs_ref" : a.n_obs, "nobs_test" : b.n_obs }

Expand All @@ -87,4 +87,4 @@ def compare_quants(args):
parser.add_argument('output', type=str,
help='Where to write the output report')
args = parser.parse_args()
compare_quants(args)
compare_quants(args)

0 comments on commit 91555f7

Please sign in to comment.