Quarterly report pursuant to Section 13 or 15(d)

Stockholders' Equity (Details Narrative)

v3.19.2
Stockholders' Equity (Details Narrative) - USD ($)
1 Months Ended 9 Months Ended
Mar. 29, 2019
Dec. 06, 2018
Nov. 02, 2018
Oct. 09, 2018
Aug. 31, 2018
Feb. 06, 2018
Nov. 13, 2017
Oct. 25, 2017
Jul. 25, 2017
Apr. 30, 2019
Apr. 30, 2019
Apr. 30, 2018
Proceeds from stock option exercise                     $ 566,135 $ 226,285
Number of warrant to purchase shares of common stock                   892,890 892,890  
Net proceeds from cash exercise of warrants                     9,999,983
Proceeds from sale of common stock and warrants                     $ 23,390 $ 35,809
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]                        
Offering expenses               $ 60,000        
Gross proceeds from offering               $ 7,100,000        
Number of warrant to purchase shares of common stock               31,625        
Warrant exercise price per share               $ 16.80        
Warrant expiry date               Oct. 21, 2022        
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%        
Net proceeds from cash exercise of warrants               $ 6,200,000        
Percentage of cash fee equal to gross proceeds of offering               5.50%        
Second October 2017 Offering [Member] | Placement Agent [Member]                        
Offering expenses               $ 15,000        
Gross proceeds from offering               $ 1,100,000        
Number of warrant to purchase shares of common stock               4,800        
Warrant exercise price per share               $ 16.80        
Warrant expiry date               Oct. 25, 2022        
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%        
Net proceeds from cash exercise of warrants               $ 1,000,000        
Percentage of cash fee equal to gross proceeds of offering               5.50%        
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               527,093        
Offering price per share               $ 13.4375        
Warrant exercise price per share               $ 12.50        
Warrant exercisable date               Oct. 25, 2017        
Warrant expiry date               Apr. 25, 2022        
Accredited Investors [Member] | Second October 2017 Offering [Member]                        
Number of common stock shares sold under offering               80,000        
Offering price per share               $ 13.4375        
Warrant exercise price per share               $ 12.50        
Warrant exercisable date               Apr. 27, 2018        
Warrant expiry date               Apr. 27, 2022        
February 2018 Offering [Member]                        
Number of common stock shares sold under offering           1,333,333            
Offering price per share           $ 15.00            
February 2018 Offering [Member] | Over-Allotment Option [Member]                        
Number of common stock shares sold under offering           200,000            
Offering price per share           $ 15.00            
Net proceeds from offering           $ 23,000,000            
Underwriting fees           1,700,000            
Offering expenses           500,000            
Gross proceeds from offering           $ 20,800,000            
Warrants [Member]                        
Warrant expire term, description                     These warrants expire at various dates between May 2019 and April 2023.  
Common Stock Option [Member]                        
Number of common stock shares issued related to option exercises                     43,029  
Proceeds from stock option exercise                     $ 566,135  
Maximum [Member]                        
Warrant exercise price per share                   $ 180.00 $ 180.00  
Maximum [Member] | Accredited Investors [Member] | First October 2017 Offering [Member]                        
Number of warrant to purchase shares of common stock               395,320        
Maximum [Member] | Accredited Investors [Member] | Second October 2017 Offering [Member]                        
Number of warrant to purchase shares of common stock               60,000        
Minimum [Member]                        
Warrant exercise price per share                   $ 12.50 $ 12.50  
Alpha Holdings, Inc. [Member]                        
Number of common stock shares issued   466,667   533,333                
Gross proceeds from common stock   $ 7,000,000   $ 8,000,000                
Purchase price per share   $ 15.00   $ 15.00                
Purchase Agreement [Member] | Aspire Capital Fund, LLC [Member]                        
Number of common stock shares issued 120,201                      
Number of common stock shares sold 400,674                 90,000    
Gross proceeds from common stock $ 2,000,000                 $ 520,000    
Purchase Agreement [Member] | Aspire Capital Fund, LLC [Member] | Maximum [Member]                        
Number of common stock shares sold, value $ 20,000,000                      
Number of common stock shares issued 30,000                      
Stock Purchase Agreement [Member] | Alpha Holdings, Inc. [Member]                        
Purchase price per share         $ 15.00              
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] | 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] | Warrants [Member]                        
Number of warrant to purchase shares of common stock             550,964          
Warrant exercise price per share             $ 16.90          
Gross proceeds from exercise of warrants             $ 9,300,000          
Net proceeds from exercise of warrants             $ 9,100,000          
Warrant Exercise Agreement [Member] | New Warrants [Member]                        
Number of warrant to purchase shares of common stock             137,741          
Warrant exercise price per share             $ 22.60          
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          
Warrant Exercise Agreement [Member] | Maximum [Member] | Accredited Investors [Member]                        
Number of warrant to purchase shares of common stock             113,830          
Equity Distribution Agreement [Member] | Oppenheimer & Co. Inc [Member]                        
Number of common stock shares sold under offering                       89,731
Proceeds from sale of common stock and warrants                 $ 1,100,000      
Equity Distribution Agreement [Member] | Oppenheimer & Co. Inc [Member] | Maximum [Member]                        
Gross proceeds from offering                 $ 8,400,000