Skip to content
This repository has been archived by the owner on Feb 24, 2025. It is now read-only.

Commit

Permalink
Automated commit -> added return statement to parser in jatosapi
Browse files Browse the repository at this point in the history
  • Loading branch information
miloswrath committed Sep 23, 2024
1 parent a1103af commit f2cb627
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions jatosAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ def parse_cmd():
import argparse
parser = argparse.ArgumentParser(description='API File to Pull Subject Data from Jatos')
parser.add_argument('-t', type=str, help='TEASE')
parser.add_argument('-a', type=str, help="toke")
return parser.parse_args()


Expand Down Expand Up @@ -240,6 +241,7 @@ def push(toke):
def main():
args = parse_cmd()
tease = args.t
toke = args.a
study_result_ids = get_met(tease)
get_data(study_result_ids, tease)
convert_beh()
Expand All @@ -249,8 +251,7 @@ def main():
if file.endswith(".txt"):
txt_files.append(os.path.join(root, file))
move_txt(txt_files)
push()

push(toke)



Expand Down

0 comments on commit f2cb627

Please sign in to comment.