Script neuron flagged as an error in the genotype checker 

I've just built my first neuron (script below), which damps a signal (eg. Sin) coming into input 0 according to the strength of a damping signal (eg. Smell) coming into input 1. The neuron outputs the damped signal.

The genotype checker doesn't like it. It flags it as being in error and says the genotype is useless but then when I simulate it, it actually works.

Have I done something wrong or do I need to do something to teach the checker how to look at user defined neurons?

Any suggestions much appreciated!

Ian

The example dummy genotype I'm using to look at it is: X[S][Sin][iwDmp,-1:1,-2:1]

The neuron script is:

class:
name:iwDmp
longname:Signal damper
description:Damps signal of channel 0 by factor of absolute value of channel 1
prefinputs:2
prefoutput:1
code:~
function init()
{}

function go()
{
var s = Neuro.getWeightedInputState(0);
//input 0 is the original signal

var d = Neuro.getWeightedInputState(1);
//input 1 is the damping signal

if (d 
Forums: 
Maciej Komosinski's picture

The only problem with the script is that the name of a neuron must start with the capital letter.

Aaaahhh!!

Thanks Maciej!