Quarterly report pursuant to Section 13 or 15(d)

Stockholders' Equity (Details Narrative)

v3.10.0.1
Stockholders' Equity (Details Narrative) - USD ($)
6 Months Ended
Dec. 06, 2018
Nov. 02, 2018
Oct. 08, 2018
Aug. 31, 2018
Nov. 13, 2017
Oct. 25, 2017
Jul. 25, 2017
Jan. 31, 2019
Jan. 31, 2018
Number of common stock shares issued related to option exercises               430,293  
Proceeds from stock option exercise               $ 566,135 $ 157,928
Number of warrant to purchase shares of common stock               8,928,905  
Net proceeds from cash exercise of warrants               9,593,733
Gross proceeds from offering               14,141,895 7,886,913
Net proceeds from issuance of public offering               $ 23,390 $ 19,048
Warrant expire term, description               These warrants expire at various dates between May 2019 and April 2023.  
Maximum [Member]                  
Warrant exercise price per share               $ 18.00  
Minimum [Member]                  
Warrant exercise price per share               $ 1.25  
Alpha Holdings, Inc. [Member]                  
Purchase price per share $ 1.50   $ 1.50            
Gross proceeds from common stock $ 7,000,000   $ 8,000,000            
Number of common stock shares issued 4,666,667   5,333,333            
First October 2017 Offering [Member]                  
Fair value of warrants           $ 2,400,000      
Dividend rate           0.00%      
Expected term of volatility           5 years 6 months      
Volatility rate           75.55%      
Risk-free interest rate           2.12%      
First October 2017 Offering [Member] | Placement Agent [Member]                  
Number of warrant to purchase shares of common stock           316,256      
Warrant exercise price per share           $ 1.68      
Net proceeds from cash exercise of warrants           $ 6,200,000      
Fair value of warrants           $ 200,000      
Dividend rate           0.00%      
Expected term of volatility           5 years      
Volatility rate           73.25%      
Risk-free interest rate           2.06%      
Warrant expiry date           Oct. 21, 2022      
Gross proceeds from offering           $ 7,100,000      
Percentage of cash fee equal to gross proceeds of offering           5.50%      
Offering expenses           $ 60,000      
Second October 2017 Offering [Member] | Placement Agent [Member]                  
Number of warrant to purchase shares of common stock           48,000      
Warrant exercise price per share           $ 1.68      
Net proceeds from cash exercise of warrants           $ 1,000,000      
Fair value of warrants           $ 31,000      
Dividend rate           0.00%      
Expected term of volatility           5 years      
Volatility rate           73.22%      
Risk-free interest rate           2.06%      
Warrant expiry date           Oct. 25, 2022      
Gross proceeds from offering           $ 1,100,000      
Percentage of cash fee equal to gross proceeds of offering           5.50%      
Offering expenses           $ 15,000      
Second October 2017 Offering [Member]                  
Fair value of warrants           $ 400,000      
Dividend rate           0.00%      
Expected term of volatility           5 years 6 months      
Volatility rate           75.51%      
Risk-free interest rate           2.12%      
Accredited Investors [Member] | First October 2017 Offering [Member]                  
Number of common stock shares sold under offering           5,270,934      
Warrant exercise price per share           $ 1.25      
Warrant exercisable date           Oct. 25, 2017      
Purchase price per share           $ 1.34375      
Warrant expiry date           Apr. 25, 2022      
Accredited Investors [Member] | First October 2017 Offering [Member] | Maximum [Member]                  
Number of warrant to purchase shares of common stock           3,953,200      
Accredited Investors [Member] | Second October 2017 Offering [Member]                  
Number of common stock shares sold under offering           800,000      
Warrant exercise price per share           $ 1.25      
Warrant exercisable date           Apr. 27, 2018      
Purchase price per share           $ 1.34375      
Warrant expiry date           Apr. 27, 2022      
Accredited Investors [Member] | Second October 2017 Offering [Member] | Maximum [Member]                  
Number of warrant to purchase shares of common stock           600,000      
Stock Purchase Agreement [Member] | Alpha Holdings, Inc. [Member]                  
Purchase price per share       $ 1.50          
Stock Purchase Agreement [Member] | Alpha Holdings, Inc. [Member] | Maximum [Member]                  
Number of common stock shares sold, value       $ 15,000,000          
Controlled Equity Offering Sales Agreement [Member]                  
Number of common stock shares sold, value   $ 30,000,000              
Warrant Exercise Agreement [Member]                  
Number of 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        
Estimated expenses paid or payable         9,100,000        
Warrant Exercise Agreement [Member] | Accredited Investors [Member]                  
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] | Accredited Investors [Member] | Maximum [Member]                  
Number of warrant to purchase shares of common stock         1,138,300        
Warrant Exercise Agreement [Member] | New Warrants [Member]                  
Number of 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        
Equity Distribution Agreement [Member] | Oppenheimer & Co. Inc [Member]                  
Number of common stock shares sold under offering                 897,311
Net proceeds from issuance of public offering             $ 1,100,000    
Equity Distribution Agreement [Member] | Oppenheimer & Co. Inc [Member] | Maximum [Member]                  
Gross proceeds from offering             $ 8,400,000