public void readNeuronConnectTo (LineNumberReader inputFile, CANTNet toNet) {
    String inputLine,paramString;
	String toNetName="";
    StringTokenizer tokenizedLine;
    int testID=-1;
    double Weight = 0.0;
    int toNeuronID = 0;
    int axonsToRead=0;
    Double tempDouble;

    //read the neuron ID
    try {
  	  inputLine = inputFile.readLine();
      tokenizedLine = new StringTokenizer(inputLine);
      paramString=tokenizedLine.nextToken();
      testID = Integer.parseInt(paramString);
    }
    catch (IOException e) {
      System.err.println("Bad Neuron Connect Read" + e.toString());
      System.exit(1);
    }
  	
    //read the number of axons
    try {
      inputLine = inputFile.readLine();
      tokenizedLine = new StringTokenizer(inputLine);
      paramString=tokenizedLine.nextToken();
      axonsToRead = Integer.parseInt(paramString);
    }
    catch (IOException e) {
      System.err.println("Bad Neuron Connect Read Axon" + e.toString());
      System.exit(1);
    }
     
    //read in the axons.
    for (int cAxons = 0; cAxons < axonsToRead; cAxons++) {
      try {
        inputLine = inputFile.readLine();
        tokenizedLine = new StringTokenizer(inputLine);
        toNetName=tokenizedLine.nextToken();
        paramString=tokenizedLine.nextToken();
        toNeuronID = Integer.parseInt(paramString);
        paramString=tokenizedLine.nextToken();
        tempDouble = new Double(paramString);
  	    Weight =  tempDouble.doubleValue();
      }
    
      catch (IOException e) {
        System.err.println("Bad Axon Read" + e.toString());
        System.exit(1);
      }      	 
    
      //set the inhibitory neural value based on the first value
      if (cAxons == 0)
        if (Weight < 0) isInhibitory = true;
        else isInhibitory = false;

      if (toNet.getName().compareTo(toNetName) == 0)  
        {
        addConnection(toNet.neurons[toNeuronID],Weight);
        }
    }
  }