Annual report pursuant to Section 13 and 15(d)

Income taxes (Details) - Deferred tax assets and liabilities

v3.5.0.2
Income taxes (Details) - Deferred tax assets and liabilities - USD ($)
$ in Thousands
Jul. 31, 2016
Jul. 31, 2015
Deferred tax assets:    
Federal tax carryforward losses $ 18,964 $ 35,411
Provision for uncollectible accounts receivable 1,406 685
State and local tax carry forward losses 2,757 2,661
Accrued royalties 146 144
Stock compensation 616 99
Depreciation 769 618
Research and development and other tax credit carryforwards 2,152 1,134
Foreign tax carryforward losses 2,046 1,476
Intangibles 2,915 2,951
Inventory 2,477 2,558
Accrued expenses 1,321 2,627
Unrealized foreign exchange 100 98
Other, net 63 18
Deferred tax assets 35,732 50,480
Deferred tax liabilities:    
Deferred patent costs   (152)
Prepaid expenses (820) (676)
Other, net   (31)
Deferred tax liabilities (820) (859)
Net deferred tax assets before valuation allowance 34,912 49,621
Less: valuation allowance $ (34,912) (49,658)
Net deferred tax liabilities   $ (37)