private double getMaxHeightRatio(ScanfReader scanReader, String attrName) throws IOException{    	
    	String frac = scanReader.scanString();
    	double hr = -1;
    	if(!frac.equals("*")){
			if(!maxWeightMap.isEmpty() && !davidAvgGVC){
    			if(maxWeightMap.containsKey(attrName)){
    				hr = maxWeightMap.get(attrName);               			
        			return hr;
        		}
    		} else if (!averageAttributeWeights.isEmpty() && davidAvgGVC) {
                if(averageAttributeWeights.containsKey(attrName)){
                    hr = averageAttributeWeights.get(attrName);                        
                    return hr;
                }
    		} else if (maxWeightMap.isEmpty())
        		System.out.println("Weight Map empty");
    	}
    	return hr;
    }