}
    },
    content_params={
        # defaults to blind submission description
        'authors': {
            'description': 'Comma separated list of author names.',
            'order': 2,
            'values-regex': "[^;,\\n]+(,[^,\\n]+)*",
            'required': True
        },
        'authorids': {
            'description':
            'Comma separated list of author email addresses, lowercased, in the same order as above. For authors with existing OpenReview accounts, please make sure that the provided email address(es) match those listed in the author\'s profile.',
            'order': 3,
            'values-regex':
            "([a-z0-9_\-\.]{2,}@[a-z0-9_\-\.]{2,}\.[a-z]{2,},){0,}([a-z0-9_\-\.]{2,}@[a-z0-9_\-\.]{2,}\.[a-z]{2,})",
            'required': True
        }
    })

submission_inv = client.post_invitation(submission_inv)
print "posted invitation " + submission_inv.id

comment_inv = invitations.Comment(
    conference_id=config.CONFERENCE_ID,
    process='../process/commentProcess.js',
    invitation=config.SUBMISSION,
)
comment_inv = client.post_invitation(comment_inv)
print "posted invitation " + comment_inv.id
            "([a-z0-9_\-\.]{2,}@[a-z0-9_\-\.]{2,}\.[a-z]{2,},){0,}([a-z0-9_\-\.]{2,}@[a-z0-9_\-\.]{2,}\.[a-z]{2,})",
            'required': True
        }
    })

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

comment_inv = invitations.Comment(
    name='Comment',
    conference_id=js_constants['CONFERENCE'],
    process='../process/commentProcess.js',
    invitation=js_constants['SUBMISSION_INVITATION'],
)
client.post_invitation(comment_inv)

print "posted invitation", comment_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,
)

this_conference = client.get_group(js_constants['CONFERENCE'])
예제 #3
0
submission_process = process.MaskSubmissionProcess(
    '../process/submissionProcess.js', js_constants, mask = blind_inv)

submission_inv.add_process(submission_process)

# post both the submissions
submission_inv = client.post_invitation(submission_inv)
blind_inv = client.post_invitation(blind_inv)
print "posted invitation", submission_inv.id
print "posted invitation", blind_inv.id


comment_inv = invitations.Comment(
    name = 'Comment',
    conference_id = js_constants['CONFERENCE'],
    process = os.path.join(os.path.dirname(__file__),'../process/commentProcess.js'),
    invitation = js_constants['BLIND_INVITATION'],
)
client.post_invitation(comment_inv)

print "posted invitation", comment_inv.id
'''
Create the homepage and add it to the conference group.
'''
instructions = ' '.join([

    '<p>When you post your submission, the pdf should <strong>not</strong> contain the names of the authors. ',
    'Please provide real names and email addresses of authors in the form.',
    'An anonymous record of your paper will be visible to the public.<br>',
    'The <em>original</em> record of your submission will be private,',
    'and will contain your real name(s).',
            'required': True
        }
    })

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

# post the submission
submission_inv = client.post_invitation(submission_inv)
print "posted invitation", submission_inv.id

# create and post the comment invitation
comment_inv = invitations.Comment(
    name='Comment',
    conference_id=js_constants['CONFERENCE'],
    invitation=js_constants['SUBMISSION_INVITATION'],
)
comment_process = process.MaskSubmissionProcess('../process/commentProcess.js',
                                                js_constants, None)
comment_inv.add_process(comment_process)
client.post_invitation(comment_inv)
print "posted invitation", comment_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,
)