ioam / topographica

A general-purpose neural simulator focusing on topographic maps.
topographica.org
BSD 3-Clause "New" or "Revised" License
53 stars 32 forks source link

problem of running gcal.py in the "models"file error : AttributeError: 'module' object has no attribute 'SeparatedComposite' #622

Open dancehours opened 9 years ago

dancehours commented 9 years ago

I installed topographica following the instruction here : https://github.com/ioam/topographica

Then I run the script of gcal.py in the "stevens.jn13" file of the "models"file , then it shows the error:

Traceback (most recent call last): File "./topographica", line 17, in process_argv(sys.argv[1:]) File "/home/wenqi/env/topographica/topo/misc/commandline.py", line 739, in process_argv execfile(filename,main.dict) File "models/stevens.jn13/1.ty", line 142, in combined_inputs = pattern.SeparatedComposite(min_separation=0,generators=inputs, AttributeError: 'module' object has no attribute 'SeparatedComposite'

I really need to solve this problem, could you help me this please ?

dancehours commented 9 years ago

Sorry, I forgot to mention, I installed topographica in 28th, April, 2015

jbednar commented 9 years ago

SeparatedComposite has recently moved locations, so please replace "pattern.SeparatedComposite" with "imagen.deprecated.SeparatedComposite" in the .ty file. We'll need to update files in models/, but have not done so yet. Thanks!

The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.

dancehours commented 9 years ago

Thanks a lot ! Now it can work !