Skip to content

Commit

Permalink
minor fixes for lexicon
Browse files Browse the repository at this point in the history
  • Loading branch information
khansadaoudi committed Sep 20, 2024
1 parent 55ca614 commit f80513b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/lexicon/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ class LexiconResource(Resource):
def post(self, project_name: str):

args = request.get_json()
sample_ids = args.get("samplenames")
sample_ids = args.get("sampleNames")
features = args.get("features")
lexicon_type = args.get("lexiconType")
other_user = args.get("otherUser")
prune = args.get("prune")

reply = GrewService.get_lexicon(project_name, sample_ids, lexicon_type, '',prune, features)
reply = GrewService.get_lexicon(project_name, sample_ids, lexicon_type, other_user, prune, features)
return reply["data"]


Expand Down

0 comments on commit f80513b

Please sign in to comment.