new_contents: #!/usr/bin/env python3
  
  import argparse
  import jargparse
  import requests
  
  ############
  ### MAIN ###
  ############
  parser = jargparse.ArgParser(
      'Test query to list creation using an anonymous session token',
      formatter_class=argparse.RawDescriptionHelpFormatter,
      epilog='''QUERY EXAMPLE:
  <query view="Gene.primaryIdentifier Gene.symbol" sortOrder="Gene.primaryIdentifier asc">
    <constraint path="Gene.organism.name" code="A" editable="true" op="=" value="Escherichia coli str. K-12 substr. MG1655"/>
  </query>''')
  
  parser.add_argument('query', help='query XML')
  parser.add_argument('service', help='InterMine service URL.  e.g. http://synbiomine.org/synbiomine')
  args = parser.parse_args()
  
  r = requests.get('%s/session' % args.service)
  print(r.text)
  
subject: add new script to test anonymous list creation, only retrieves the session token at the moment