Quarterly report pursuant to Section 13 or 15(d)

Loan Payable (Details)

v3.5.0.2
Loan Payable (Details) - USD ($)
3 Months Ended 12 Months Ended
Oct. 31, 2016
Jul. 31, 2016
Oct. 31, 2015
Jul. 31, 2015
Loan Payable (Details) [Line Items]        
Line of Credit Facility Expiration Month and Year December7, 2016      
Line of Credit Facility, Maximum Borrowing Capacity $ 8,000,000      
Line of Credit Facility Additional Borrowings Capacity 4,000,000      
Unamortized Debt Issuance Expense 281,000      
Unamortized Debt Issuance Cost Included In Prepaid Expenses $ 7,000 $ 28,000   $ 28,000
LIBOR Rate Period 3 months      
Debt Instrument, Description of Variable Rate Basis three month LIBOR rate, with a floor of 1.25% plus an applicable margin of 4.0%      
Debt Instrument, Basis Spread on Variable Rate 1.25%      
Debt Instrument Margin on Variable Rate 4.00%      
Nominal Interest Rate 5.25% 5.25%    
Debt Instrument Increase in Interest Rate on Default 3.00%      
Line of Credit Facility, Unused Capacity, Commitment Fee Percentage 0.50%      
Debt Instrument, Interest Rate During Period 12.10% 11.40%    
Line of Credit Facility Minimum Borrowings $ 2,000,000      
Long-term Line of Credit 2,000,000 $ 1,557,000    
Line of Credit Facility, Remaining Borrowing Capacity 3,500,000      
Line of Credit Facility Minimum Liquidity Requirement 3,000,000      
Line of Credit Facility Minimum Liquidity Current 7,600,000      
Line of Credit Facility Minimum Cash Burn 0      
Line of Credit Facility Cash Burn Current 800,000      
Line of Credit Facility Minimum Cash Burn Excluding Capital Expenditures     $ 7,000,000  
Line of Credit Facility Cash Burn Current Excluding Capital Expenditures 70,700,000      
Clinical Labs [Member]        
Loan Payable (Details) [Line Items]        
Long-term Line of Credit 2,000,000 2,000,000    
Life Sciences [Member]        
Loan Payable (Details) [Line Items]        
Long-term Line of Credit $ 1,600,000 $ 1,600,000