Quarterly report pursuant to Section 13 or 15(d)

Stock-Based Compensation (Details Narrative)

v3.8.0.1
Stock-Based Compensation (Details Narrative) - USD ($)
3 Months Ended 9 Months Ended
Apr. 30, 2018
Jan. 31, 2018
Apr. 30, 2017
Apr. 30, 2018
Apr. 30, 2017
Options granted to purchase shares       5,614,000  
Intrinsic value of options outstanding $ 1,400,000     $ 1,400,000  
Intrinsic value of options exercisable 700,000     700,000  
Unrecognized stock-based compensation expenses $ 4,400,000     $ 4,400,000  
Term of stock options       1 year 10 months 3 days  
Weighted-average grant date fair value $ 1.10   $ 1.08 $ 1.24 $ 1.13
Restricted stock outstanding 1,412,000     1,412,000  
Restricted Stock Units (RSUs) [Member]          
Stock-based compensation expense recognized $ 1,100,000   $ 100,000 $ 1,400,000 $ 400,000
Research And Development Expense [Member]          
Stock-based compensation expense recognized 400,000   200,000 700,000 1,000,000
General And Administrative Expense [Member]          
Stock-based compensation expense recognized 1,500,000   400,000 3,800,000 2,200,000
Employees, Directors and Consultants [Member]          
Stock-based compensation expense recognized 1,900,000   $ 600,000 $ 4,500,000 $ 3,100,000
Employees, Directors and Consultants [Member] | Consulting Agreement [Member]          
Options granted to purchase shares       5,614,000  
Board of Directors [Member] | Restricted Stock Units (RSUs) [Member]          
Stock-based compensation expense recognized $ 1,100,000        
Plan 2011 [Member]          
Number of shares authorized for issuance to awards granted 1,000,000     1,000,000  
Maximum shares granted per fiscal year per individual       8,500,000  
Plan 2011 [Member] | Minimum [Member]          
Purchase price of incentive stock options as a percentage of its fair value       100.00%  
Provisional percentage of outstanding stock owned by stockholders       10.00%  
Exercise price as a percentage of fair value of common stock       110.00%  
Plan 2011 [Member] | Common Stock [Member]          
Maximum shares granted per fiscal year per individual       500,000  
Plan 2011 [Member] | Employee, Director and Consultants [Member]          
Employee stock purchase program description       The 2011 Plan authorizes a total of 7,500,000 for issuance thereunder, and includes an automatic increase of the number of shares of common stock reserved thereunder on the first business day of each calendar year by the lesser of: (i) 3% of the shares of the Company’s common stock outstanding as of the last day of the immediately preceding calendar year; (ii) 1,000,000 shares; or (iii) such lesser number of shares as determined by the Company’s Board of Directors.  
Number of shares authorized for issuance to awards granted 7,500,000     7,500,000  
Plan 2011 [Member] | Employees [Member]          
Options granted to purchase shares   2,500,000      
Number of granted shares vested   1,000,000      
Vesting period   2 years      
Plan 2011 [Member] | Employees [Member] | One Year Anniversary [Member]          
Number of granted shares vested   250,000      
Plan 2011 [Member] | Mr. O'Connor [Member]          
Options granted to purchase shares   500,000      
Number of granted shares vested   250,000