<reponame>mwalmsley/gz-panoptes-reduction<gh_stars>1-10
import json

# TODO could add to the client itself, I suppose
def login(Panoptes, login_loc):
    with open(login_loc, 'r') as f:
        zooniverse_login = json.load(f)
    Panoptes.connect(**zooniverse_login)  # modifies inplace
import json

# TODO could add to the client itself, I suppose
def login(Panoptes, login_loc):
    with open(login_loc, 'r') as f:
        zooniverse_login = json.load(f)
    Panoptes.connect(**zooniverse_login)  # modifies inplace
# TODO could add to the client itself, I suppose # modifies inplace