9a552c89e11efcfcc041b43ece19886ddc5203df,pysb/importers/bngl.py,BnglBuilder,_parse_expressions,#BnglBuilder#,358

Before Change


                                     "%s\n\nError: %s" % (expr_name,
                                                          expr_text,
                                                          ex.message))
            expr_namespace[expr_name] = expr_val
            if isinstance(expr_val, numbers.Number):
                self.parameter(expr_name, expr_val)
            else:

After Change


            self.model.parameters | self.model.expressions
            | self.model.observables
        )
        expr_symbols = {e.name: sympy.Symbol(e.name) for e in expr_namespace}

        for e in self._x.iterfind(_ns("{0}ListOfFunctions/{0}Function")):
            for arg in e.iterfind(_ns("{0}ListOfArguments/{0}Argument")):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: pysb/pysb
Commit Name: 9a552c89e11efcfcc041b43ece19886ddc5203df
Time: 2019-09-25
Author: alex.lubbock@vanderbilt.edu
File Name: pysb/importers/bngl.py
Class Name: BnglBuilder
Method Name: _parse_expressions


Project Name: mathics/Mathics
Commit Name: 6441aa3d9929de1fdce6384d997d17900f03ec2f
Time: 2016-08-16
Author: Bernhard.Liebl@gmx.org
File Name: mathics/builtin/image.py
Class Name: ImageCreate
Method Name: apply


Project Name: mathics/Mathics
Commit Name: 25cef78bbd3cf3b2ba10067087831f4fd3cc03a5
Time: 2016-08-16
Author: 16sn6uv@gmail.com
File Name: mathics/builtin/image.py
Class Name: ImageResize
Method Name: apply_resize_width