47374cd825213029b578e5a22ba9836c0f55d97a,pysb/tools/pysb_pyurdme.py,PyurdmeSimulator,run,#PyurdmeSimulator#,135

Before Change


        urdme_model = _translate(self.model, param_values, dif0, y0, initial_dist)
        urdme_model.timespan(tspan)
        urdme_model.mesh = mesh
        result = pyurdme.run(number_of_trajectories = n_runs, solver = solver, seed = seed )
    
        // output time points (in case they aren"t the same tspan, which is possible in BNG)
        self.tout = result.get_timespan()
        // species

After Change


        
        if initial_dist is not None:
            self.initial_dist = initial_dist
        elif self.initial_dist is None:
            raise Exception("Initial distribution of proteins must be defiened")        
        
        
        urdme_model = _translate(self.model, self.mesh, self.initial_dist, param_values, dif0, y0)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: pysb/pysb
Commit Name: 47374cd825213029b578e5a22ba9836c0f55d97a
Time: 2015-07-03
Author: oo.ortega2247@gmail.com
File Name: pysb/tools/pysb_pyurdme.py
Class Name: PyurdmeSimulator
Method Name: run


Project Name: VinF/deer
Commit Name: 2dad465d5aecf0bf7fe754af3ecff73b55c525fd
Time: 2016-02-09
Author: davidtaralla@gmail.com
File Name: General_Deep_Q_RL/launcher.py
Class Name:
Method Name: launch


Project Name: marcoancona/DeepExplain
Commit Name: 83796ff9a1dcae49dd13f3ce67157f756d28803e
Time: 2017-11-02
Author: marco.ancona@inf.ethz.ch
File Name: example_tf.py
Class Name: DeepExplain
Method Name: explain