Quarterly report pursuant to Section 13 or 15(d)

Stockholders' Equity (Details Narrative)

v3.8.0.1
Stockholders' Equity (Details Narrative) - USD ($)
3 Months Ended 9 Months Ended
Feb. 06, 2018
Nov. 13, 2017
Oct. 25, 2017
Jul. 25, 2017
Apr. 30, 2018
Apr. 30, 2017
Apr. 30, 2018
Apr. 30, 2017
Number of shares issued on public offering 13,333,334              
Offering price per share $ 1.50              
Gross proceeds from offering $ 23,000,000           $ 28,636,232
Underwriting fees 1,700,000              
Offering expenses 500,000              
Net proceeds from issuance of public offering $ 20,800,000           $ 35,809
Warrant to purchase shares of common stock         8,958,059   8,958,059  
Proceeds from cash exercise of warrants             $ 9,999,983 30,950
Warrant inducement expense         $ 2,465,396
Warrant expire term             These warrants expire at various dates between September 2018 and May 2025.  
Maximum [Member]                
Warrant exercise price per share         $ 18.00   $ 18.00  
Minimum [Member]                
Warrant exercise price per share         $ 1.25   $ 1.25  
First October 2017 Offerings [Member]                
Fair value of warrants     $ 2,400,000          
Dividend rate              
Expected term of volatility     5 years 6 months          
Volatility rate     75.55%          
Risk-free interest rate     2.12%          
First October 2017 Offerings [Member] | Placement Agent [Member]                
Gross proceeds from offering     $ 7,100,000          
Offering expenses     $ 60,000          
Warrant to purchase shares of common stock     316,256          
Warrant exercise price per share     $ 1.68          
Proceeds from cash exercise of warrants     $ 6,200,000          
Warrant expiry date     Oct. 21, 2022          
Fair value of warrants     $ 200,000          
Dividend rate              
Expected term of volatility     5 years          
Volatility rate     73.25%          
Risk-free interest rate     2.06%          
Percentage of gross proceeds of offering     5.50%          
Second October 2017 Offerings [Member]                
Fair value of warrants     $ 400,000          
Dividend rate              
Expected term of volatility     5 years 6 months          
Volatility rate     75.51%          
Risk-free interest rate     2.12%          
Second October 2017 Offerings [Member] | Placement Agent [Member]                
Offering expenses     $ 15,000          
Warrant to purchase shares of common stock     48,000          
Warrant exercise price per share     $ 1.68          
Warrant expiry date     Oct. 25, 2022          
Fair value of warrants     $ 31,000          
Dividend rate              
Expected term of volatility     5 years          
Volatility rate     73.22%          
Risk-free interest rate     2.06%          
Percentage of gross proceeds of offering     5.50%          
Accredited Investors [Member] | First October 2017 Offerings [Member]                
Warrant to purchase shares of common stock     3,953,200          
Warrant exercise price per share     $ 1.25          
Warrant exercisable date     Oct. 25, 2017          
Warrant expiry date     Apr. 25, 2022          
Number of common stock shares sold under offering     5,270,934          
Purchase price per share     $ 1.34375          
One Accredited Investors [Member] | Second October 2017 Offerings [Member]                
Gross proceeds from offering     $ 1,100,000          
Warrant to purchase shares of common stock     600,000          
Warrant exercise price per share     $ 1.25          
Proceeds from cash exercise of warrants     $ 1,000,000          
Warrant exercisable date     Apr. 27, 2018          
Warrant expiry date     Apr. 27, 2022          
Number of common stock shares sold under offering     800,000          
Purchase price per share     $ 1.34375          
Warrant Exercise Agreement [Member]                
Warrant to purchase shares of common stock   5,509,642            
Warrant exercise price per share   $ 1.69            
Gross proceeds from exercise of warrants   $ 9,300,000            
Proceeds from cash exercise of warrants   $ 9,100,000            
Warrant Exercise Agreement [Member] | Accredited Investors [Member]                
Warrant to purchase shares of common stock   1,138,300            
Fair value of warrants   $ 2,500,000            
Dividend rate   0.00%            
Expected term of volatility   2 years            
Volatility rate   73.12%            
Risk-free interest rate   1.70%            
Warrant Exercise Agreement [Member] | New Warrants [Member]                
Warrant to purchase shares of common stock   1,377,411            
Warrant exercise price per share   $ 2.26            
Percentage of warrant to purchase common stock equal to common stock received   25.00%            
Warrant exercisable date   May 13, 2018            
Warrant expiry date   Nov. 13, 2019            
Equity Distribution Agreement [Member] | Oppenheimer & Co. Inc [Member]                
Number of common stock shares sold under offering             897,311  
Other expenses             $ 1,100,000  
Equity Distribution Agreement [Member] | Oppenheimer & Co. Inc [Member] | Maximum [Member]                
Net proceeds from issuance of public offering       $ 8,400,000        
Over Allotment Option [Member]                
Number of shares issued on public offering 2,000,000              
Offering price per share $ 1.50