Ejemplo n.º 1
0
    def get_context_data(self, **kwargs):

        kwargs = HasWorkingProject.get_context_data(self, **kwargs)
        kwargs['plots_2d'] = self.listOfPlots2D
        kwargs['colors'] = Settings.default_colors

        return kwargs
Ejemplo n.º 2
0
    def get_context_data(self, **kwargs):

        kwargs = HasWorkingProject.get_context_data(self, **kwargs)
        kwargs['list_of_simulations'] = self.listOfSimulations
        kwargs['load_simulation_form'] = self.fileUploadForm

        return kwargs
Ejemplo n.º 3
0
	def get_context_data(self, **kwargs):

		kwargs = HasWorkingProject.get_context_data(self, **kwargs)
		kwargs['list_of_simulations'] = self.listOfSimulations
		kwargs['load_simulation_form'] = self.fileUploadForm

		return kwargs
Ejemplo n.º 4
0
	def get_context_data(self, **kwargs):

		kwargs = HasWorkingProject.get_context_data(self, **kwargs)
		kwargs = HasErrorMessages.get_context_data(self, **kwargs)
		kwargs['plots_2d'] = self.listOfPlots2D
		kwargs['colors'] = Settings.default_colors

		return kwargs
Ejemplo n.º 5
0
    def get_context_data(self, **kwargs):

        kwargs = HasWorkingProject.get_context_data(self, **kwargs)

        kwargs['experimental_data'] = self.listOfExperiments
        kwargs['experiment_id'] = self.experimentId
        kwargs['experiment_name'] = self.experimentName
        kwargs['experiment_notes'] = self.experimentNotes
        return kwargs
Ejemplo n.º 6
0
	def get_context_data(self, **kwargs):

		kwargs = HasWorkingProject.get_context_data(self, **kwargs)
		kwargs = HasErrorMessages.get_context_data(self, **kwargs)

		kwargs['form'] = self.fileUploadForm
		kwargs['sbml_models'] = self.listOfModels

		return kwargs
Ejemplo n.º 7
0
    def get_context_data(self, **kwargs):

        kwargs = HasWorkingProject.get_context_data(self, **kwargs)
        kwargs = HasErrorMessages.get_context_data(self, **kwargs)

        kwargs['form'] = self.fileUploadForm
        kwargs['sbml_models'] = self.listOfModels

        return kwargs
Ejemplo n.º 8
0
    def get_context_data(self, **kwargs):

        kwargs = HasWorkingProject.get_context_data(self, **kwargs)

        kwargs['create_folder_error'] = self.createFolderError
        kwargs['create_folder_show'] = self.createFolderShow

        kwargs['send_folder_error'] = self.sendFolderError
        kwargs['send_folder_show'] = self.sendFolderShow
        return kwargs
Ejemplo n.º 9
0
	def get_context_data(self, **kwargs):

		kwargs = HasWorkingProject.get_context_data(self, **kwargs)

		kwargs['experimental_data'] = self.listOfExperiments
		kwargs['experiment_id'] = self.experimentId
		kwargs['experiment_name'] = self.experimentName
		kwargs['experiment_notes'] = self.experimentNotes
		kwargs['file_upload_form'] = self.fileUploadForm
		return kwargs
Ejemplo n.º 10
0
	def get_context_data(self, **kwargs):

		kwargs = HasWorkingProject.get_context_data(self, **kwargs)

		kwargs['create_folder_error'] = self.createFolderError
		kwargs['create_folder_show'] = self.createFolderShow

		kwargs['send_folder_error'] = self.sendFolderError
		kwargs['send_folder_show'] = self.sendFolderShow
		return kwargs
Ejemplo n.º 11
0
	def get_context_data(self, **kwargs):

		kwargs = HasWorkingProject.get_context_data(self, **kwargs)

		kwargs['sbml_models'] = self.list_of_models
		kwargs['model_id'] = self.model_id
		kwargs['model_name'] = self.model_name
		kwargs['model_has_submodels'] = (self.model is not None and self.model.parentDoc.isCompEnabled() and len(self.model.listOfSubmodels) > 0)
		kwargs['model_submodels'] = ["Model definition"] + [model.getName() for model in self.model.parentDoc.listOfModelDefinitions]
		kwargs['model_submodel'] = self.model_submodel
		return kwargs
Ejemplo n.º 12
0
    def get_context_data(self, **kwargs):

        kwargs = HasWorkingProject.get_context_data(self, **kwargs)

        kwargs['experiment_name'] = self.experiment.name
        kwargs['conditions'] = self.listOfConditions

        kwargs['condition_id'] = self.conditionId
        kwargs['condition_name'] = self.conditionName
        kwargs['condition_notes'] = self.conditionNotes

        return kwargs
Ejemplo n.º 13
0
    def get_context_data(self, **kwargs):

        kwargs = HasWorkingProject.get_context_data(self, **kwargs)

        kwargs['sbml_models'] = self.list_of_models
        kwargs['model_id'] = self.model_id
        kwargs['model_name'] = self.model_name
        kwargs['model_has_submodels'] = (
            self.model is not None and self.model.parentDoc.isCompEnabled()
            and len(self.model.listOfSubmodels) > 0)
        kwargs['model_submodels'] = ["Model definition"] + [
            model.getName()
            for model in self.model.parentDoc.listOfModelDefinitions
        ]
        kwargs['model_submodel'] = self.model_submodel
        return kwargs
Ejemplo n.º 14
0
    def get_context_data(self, **kwargs):

        kwargs = HasWorkingProject.get_context_data(self, **kwargs)

        kwargs['sbml_models'] = self.list_of_models
        kwargs['model_id'] = self.model_id
        kwargs['model_name'] = self.model_name
        kwargs['model_has_submodels'] = (
            self.model is not None and self.model.parentDoc.isCompEnabled()
            and len(self.model.listOfSubmodels) > 0)
        kwargs['model_submodels'] = [
            self.model.getNameOrSbmlId() + " (Main model)"
        ] + self.model.listOfSubmodels.sbmlIds()
        kwargs['model_submodel'] = self.model_submodel

        return kwargs
		def get_context_data(self, **kwargs):

			kwargs = HasWorkingProject.get_context_data(self, **kwargs)

			kwargs['optimization_id'] = self.optimizationId
			kwargs['parameters'] = self.parameters
			kwargs['model_name'] = self.modelName
			kwargs['submodel_names'] = self.submodelNames
			kwargs['modified_submodel_names'] = self.modifiedSubmodelNames
			kwargs['show_graph'] = self.showGraph
			kwargs['optimization_status'] = self.optimizationStatus

			kwargs['score_time'] = self.scoreTime
			kwargs['score_values'] = self.scoreValues
			kwargs['score_rawvalues'] = self.scoreRawValues
			kwargs['score_minev'] = self.scoreMinEv
			kwargs['score_maxev'] = self.scoreMaxEv
			kwargs['colors'] = Settings.default_colors

			kwargs['experiments'] = self.experimentsData
			return kwargs
Ejemplo n.º 16
0
	def get_context_data(self, **kwargs):

		kwargs = HasWorkingProject.get_context_data(self, **kwargs)

		kwargs['experiment_name'] = self.experiment.name
		kwargs['condition_name'] = self.condition.name
		kwargs['experiment_id'] = self.experiment.id
		kwargs['experiment_data'] = self.dataPoints
		kwargs['experiment_initial_data'] = self.treatmentPoints


		kwargs['observations'] = self.observations
		kwargs['treatments'] = self.treatments


		kwargs['observation_form'] = self.observationForm
		kwargs['treatment_form'] = self.treatmentForm

		kwargs['colors'] = ['#009ece', '#ff9e00', '#9ccf31', '#f7d708', '#ce0000', '#e400ff']

		return kwargs
Ejemplo n.º 17
0
	def get_context_data(self, **kwargs):

		kwargs = HasWorkingProject.get_context_data(self, **kwargs)

		kwargs['experiment_name'] = self.experiment.name
		kwargs['condition_name'] = self.condition.name
		kwargs['experiment_id'] = self.experiment.id
		kwargs['experiment_data'] = self.dataPoints
		kwargs['experiment_initial_data'] = self.treatmentPoints


		kwargs['observations'] = self.observations
		kwargs['treatments'] = self.treatments


		kwargs['observation_form'] = self.observationForm
		kwargs['treatment_form'] = self.treatmentForm

		kwargs['colors'] = ['#009ece', '#ff9e00', '#9ccf31', '#f7d708', '#ce0000', '#e400ff']

		return kwargs
Ejemplo n.º 18
0
    def get_context_data(self, **kwargs):

        kwargs = HasWorkingProject.get_context_data(self, **kwargs)

        kwargs['optimization_id'] = self.optimizationId
        kwargs['parameters'] = self.parameters
        kwargs['model_name'] = self.modelName
        kwargs['show_graph'] = self.showGraph
        kwargs['optimization_status'] = self.optimizationStatus

        kwargs['score_time'] = self.scoreTime
        kwargs['score_values'] = self.scoreValues
        kwargs['score_rawvalues'] = self.scoreRawValues
        kwargs['score_minev'] = self.scoreMinEv
        kwargs['score_maxev'] = self.scoreMaxEv
        kwargs['colors'] = [
            '#009ece', '#ff9e00', '#9ccf31', '#f7d708', '#ce0000', '#e400ff'
        ]

        #kwargs['experiments'] = self.experiments
        kwargs['experiments'] = self.experimentsData
        return kwargs