bid_invitation = invitations.AddBid(
    name='Add_Bid',
    conference_id='auai.org/UAI/2018',
    duedate=1527757200000,  # 17:00:00 EST on May 1, 2018
    completion_count=50,
    inv_params={
        'readers': ['auai.org/UAI/2018', 'auai.org/UAI/2018/Program_Chairs'],
        'invitees': ['auai.org/UAI/2018/Program_Chairs']
    }
    #'readers': ['auai.org/UAI/2018','auai.org/UAI/2018/Program_Committee'],
    #'invitees': ['auai.org/UAI/2018/Program_Committee']}
)

bid_webfield = webfield.Webfield('../webfield/bidWebfield.js',
                                 group_id='auai.org/UAI/2018',
                                 js_constants=js_constants,
                                 subject_areas=subject_areas)

bid_invitation.web = bid_webfield.render()

bid_invitation = client.post_invitation(bid_invitation)
print "posted invitation", bid_invitation.id
'''
Create the homepage and add it to the conference group.

'''
instructions = ' '.join([
    '<p><strong>Important Information about Anonymity:</strong><br>',
    'When you post a submission to UAI 2018,',
    'please provide the real names and email addresses of authors',
    'in the submission form below (but NOT in the manuscript).',
Exemplo n.º 2
0
                           password=args.password)
print 'connecting to {0}'.format(client.baseurl)
'''
set up the conference groups
'''
conference_group = openreview.Group(**config.conference_params)
groups = tools.post_group_parents(client,
                                  conference_group,
                                  overwrite_parents=True)
'''
Create the homepage and add it to the conference group.
'''

homepage = webfield.Webfield(
    config.HOMEPAGE_TEMPLATE,
    group_id=config.CONFERENCE_ID,
    js_constants=config.JS_CONSTANTS,
)

this_conference = client.get_group(config.CONFERENCE_ID)
this_conference.web = homepage.render()
this_conference = client.post_group(this_conference)
print "adding webfield to", this_conference.id

# TODO PAM, save webfield as file ending in .js
'''
Set up the first couple groups that are needed before submission.
e.g. Program Chairs, Reviewers, Area Chairs

The Reviewers and Area Chairs groups will need to exist before we can
send out recruitment emails.
Exemplo n.º 3
0
    'PROGRAM_CHAIRS': PROGRAM_CHAIRS_ID,
    'REVIEWERS': REVIEWERS_ID,
    'SUBTITLE': 'Intelligent Systems in Molecular Biology',
    'TITLE': 'ISMB 2019',
    'RECRUIT_REVIEWERS': RECRUIT_REVIEWERS_ID,
    'DEADLINE': DEADLINE_TIMESTAMP,
    'DATE_STRING': 'May 5, 2019',
    'BLIND_INVITATION': BLIND_SUBMISSION_ID,
    'INSTRUCTIONS': 'test instructions',
    'WEBSITE': 'https://www.iscb.org/ismb2018-submit',
    'LOCATION': 'Location TBD',
    'SUBMISSION_INVITATION': SUBMISSION_ID,
}

HOMEPAGE = webfield.Webfield(os.path.join(os.path.dirname(__file__),
                                          '../webfield/homepage.js'),
                             group_id=CONFERENCE_ID,
                             js_constants=JS_CONSTANTS).render()
'''
Setup the groups
'''

CONFERENCE = openreview.Group(
    **{
        'id': CONFERENCE_ID,
        'readers': ['everyone'],
        'writers': [CONFERENCE_ID],
        'signatures': [],
        'signatories': [],
        'members': []
    })
Exemplo n.º 4
0
    'in the discussion forum page of your paper.<br></p>',
    '<p><strong>To Edit Submissions:</strong><br>',
    'To edit your paper, navigate to the original version, and click on the edit button if available. ',
    'Edits are not allowed during the formal review process.',
    'Edits to the originals propagate all changes to anonymous copies, while maintaining anonymity.</p>',
    '<p><strong>Questions or Concerns:</strong><br>',
    'Please contact the OpenReview support team at',
    '<a href="mailto:[email protected]">[email protected]</a>',
    'with any questions or concerns. </p>'
    ])

js_constants['INSTRUCTIONS'] = instructions

homepage = webfield.Webfield(
    '../webfield/homepage.js',
    group_id = js_constants['CONFERENCE'],
    js_constants = js_constants,
)

this_conference = client.get_group(js_constants['CONFERENCE'])
this_conference.web = homepage.render()
this_conference = client.post_group(this_conference)
print "adding webfield to", this_conference.id

pcs = openreview.Group(js_constants['PROGRAM_CHAIRS'],
    readers=[js_constants['CONFERENCE'], js_constants['PROGRAM_CHAIRS']],
    writers=[js_constants['CONFERENCE']],
    signatories= [js_constants['CONFERENCE'], js_constants['PROGRAM_CHAIRS']],
    signatures= [js_constants['CONFERENCE']]
    #'web': os.path.join(os.path.dirname(__file__), '../webfield/programchairWebfield.js'),
)
Exemplo n.º 5
0
            "value-regex": "upload|http(s)?:\\/\\/.+\\.pdf"
        },
        "url": {
            "required": False,
            "order": 10,
            "description":
            "Submit a non-PDF URL (e.g. HTML submissions). URLs must begin with \"http\" or \"https\".",
            "value-regex": "http(s)?:\\/\\/.+"
        }
    })

submission_process = process.MaskSubmissionProcess(
    '../process/submissionProcess.js', js_constants, None)
submission_inv.add_process(submission_process)

# post both the submissions
submission_inv = client.post_invitation(submission_inv)
print "posted invitation", submission_inv.id
'''
Create the homepage and add it to the conference group.
'''

homepage = webfield.Webfield('../webfield/conferenceWebfield.js',
                             group_id=js_constants['CONFERENCE'],
                             js_constants=js_constants,
                             subject_areas=SUBJECT_AREAS)

this_conference = client.get_group(js_constants['CONFERENCE'])
this_conference.web = homepage.render()
this_conference = client.post_group(this_conference)
print "adding webfield to", this_conference.id