Skip to content
Snippets Groups Projects
Commit 48f28d4b authored by Tim O'Donnell's avatar Tim O'Donnell
Browse files

fix

parent 716e2251
No related branches found
No related tags found
No related merge requests found
......@@ -44,6 +44,7 @@ parser.add_argument(
nargs="+",
help="Include only the specified alleles")
def run():
args = parser.parse_args(sys.argv[1:])
hit_df = pandas.read_csv(args.hits)
......@@ -72,7 +73,7 @@ def run():
if args.alleles:
filter_alleles = set(args.alleles)
new_hit_df = hit_df.loc[
hit_df.alleles.isin.map(
hit_df.alleles.map(
lambda a: len(set(a).intersection(filter_alleles)) > 0)
]
print(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment