Skip to content

util.modify_states function not found #2

@GoogleCodeExporter

Description

@GoogleCodeExporter
Problem and how to reproduce:

I am attempting to use the modify_states convenience function. For example, 
from the API documentation:

from boolean import util
text = util.modify_states(text=text, turnon=["A", "B"], turnoff=["C", "D"])

Because I don't have an object/module names boolean -- I assume this should be 
boolean2.  My util.py in boolean2 does not contain a modify_states function 
and, as a result, this error is produced:

text = util.modify_states(text=text, turnon=["A"])
AttributeError: 'module' object has no attribute 'modify_states'


Please provide any additional information below.

I am using BooleanNet-1.2.5.  This is the API documentation link:
http://code.google.com/p/booleannet/wiki/ApiReference


Original issue reported on code.google.com by mwy...@gmail.com on 13 Nov 2011 at 8:49

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions