module: agup_data

Data model for a review session: proposals, reviewers, topics, and analyses

class Assign_GUP.agup_data.AGUP_Data(parent_window=None, config=None)[source]

Bases: PyQt4.QtCore.QObject

Complete data for a PRP review session

clearAllData()[source]

clear all data (except for self.settings)

getCycle()[source]

the review cycle, as defined by the proposals

importEmailTemplate(xmlFile)[source]

import the email template support

importProposals(xmlFile)[source]

import a Proposals XML file as generated by the APS or proposals from a PRP Project file

importReviewers(xmlFile)[source]

import a complete set of reviewers (usually from a previous review cycle’s file)

Completely replace the set of reviewers currently in place.

importTopics(xmlFile)[source]

import a complete set of Topics (usually from a previous PRP Project file)

Completely replace the set of Topics currently in place.

openPrpFile(filename)[source]
setReviewersModel(rvwrs)[source]

set the data model for the list of reviewers

write(filename)[source]

write this data to an XML file