Skip to content

Commit

Permalink
Add --host parameter to check_pixels.py
Browse files Browse the repository at this point in the history
  • Loading branch information
will-moore committed Jan 29, 2024
1 parent 1f4c0ba commit e7e54a3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/check_pixels.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ def main(argv):
parser = argparse.ArgumentParser()
parser.add_argument('object', help='Object:ID where Object is Screen, Plate, Project, Dataset, Image')
# parser.add_argument('logfile', help='File path to output log')
parser.add_argument('--host', default="idr.openmicroscopy.org",
help="Remote server that we want to check our local data against")
parser.add_argument('--max-images', type=int, default=0,
help='Max number of images per FILESET. Default is to check ALL')
parser.add_argument('--max-planes',
Expand All @@ -144,7 +146,7 @@ def main(argv):

# Create connection to IDR server
# NB: conn.connect() not working on IDR. Do it like this
idr_client = omero.client(host="idr.openmicroscopy.org", port=4064)
idr_client = omero.client(host=args.host, port=4064)
idr_client.createSession('public', 'public')
idr_conn = BlitzGateway(client_obj=idr_client)

Expand Down

0 comments on commit e7e54a3

Please sign in to comment.