Annual report pursuant to Section 13 and 15(d)

Stockholders' Equity (Details Narrative)

v3.19.3
Stockholders' Equity (Details Narrative) - USD ($)
1 Months Ended 12 Months Ended
May 24, 2019
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
Jul. 31, 2019
Jul. 31, 2018
May 20, 2019
Common shares, shares authorized                       16,000,000 16,000,000  
Common shares, shares outstanding                       10,633,043 5,351,290  
Number of warrant to purchase shares of common stock                       3,631,953    
Dividend rate                       0.00% 0.00%  
Proceeds from stock option exercise                       $ 566,135 $ 321,145  
Proceeds from sale of common stock and warrants                       $ 27,291 $ 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]                            
Number of warrant to purchase shares of common stock                 31,625          
Warrant exercise price per share                 $ 16.80          
Warrant expiry date                 Oct. 21, 2022          
Gross proceeds from offering                 $ 7,100,000          
Offering fees and expenses paid                 $ 6,200,000          
Percentage of cash fee equal to gross proceeds of offering                 5.50%          
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%          
Offering expenses                 $ 60,000          
Second October 2017 Offering [Member] | Placement Agent [Member]                            
Number of warrant to purchase shares of common stock                 4,800          
Warrant exercise price per share                 $ 16.80          
Warrant expiry date                 Oct. 25, 2022          
Gross proceeds from offering                 $ 1,100,000          
Offering fees and expenses paid                 $ 1,000,000          
Percentage of cash fee equal to gross proceeds of offering                 5.50%          
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%          
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                 527,093          
Warrant exercise price per share                 $ 12.50          
Warrant exercisable date                 Oct. 25, 2017          
Warrant expiry date                 Apr. 25, 2022          
Offering price per share                 $ 13.4375          
Accredited Investors [Member] | Second October 2017 Offering [Member]                            
Number of common stock shares sold under offering                 80,000          
Warrant exercise price per share                 $ 12.50          
Warrant exercisable date                 Apr. 27, 2018          
Warrant expiry date                 Apr. 27, 2022          
Offering price per share                 $ 13.4375          
May 2019 Offering [Member]                            
Number of common stock shares sold under offering 3,492,063                          
Number of warrant to purchase shares of common stock 2,619,047                          
Purchase price per share $ 3.15                          
Warrant exercise price per share $ 3.45                          
Warrant exercisable date May 24, 2019                          
Warrant expiry date May 24, 2024                          
Fair value of warrants $ 3,600,000                          
Dividend rate 0.00%                          
Expected term of volatility 5 years                          
Volatility rate 82.99%                          
Risk-free interest rate 2.12%                          
May 2019 Offering [Member] | Placement Agent [Member]                            
Number of warrant to purchase shares of common stock 178,571                          
Warrant exercise price per share $ 0.01                          
Warrant exercisable date May 24, 2019                          
Warrant expiry date May 24, 2024                          
Gross proceeds from offering $ 11,000,000                          
Offering fees and expenses paid $ 10,000,000                          
Percentage of cash fee equal to gross proceeds of offering 6.50%                          
Legal and other expenses $ 90,000                          
Purchase of addition shares of options 523,809                          
Purchase of addition shares of warrants 392,857                          
Number of common stock shares issued related to option exercises 238,095                          
Underwriting fees $ 2,381                          
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              
Gross proceeds from offering             $ 20,800,000              
Underwriting fees             $ 1,700,000              
Offering price per share             $ 15.00              
Net proceeds from offering             $ 23,000,000              
Offering expenses             $ 500,000              
Reverse Stock Split [Member]                            
Common shares, shares authorized                       16,000,000   160,000,000
Common shares, shares outstanding                       7,121,594   71,216,082
Warrants [Member]                            
Warrant expire term, description                       These warrants expire at various dates between November 2019 and May 2024.    
Common Stock Option [Member]                            
Number of common stock shares issued related to option exercises                       43,029    
Proceeds from stock option exercise                       $ 600,000    
Maximum [Member]                            
Warrant exercise price per share                       $ 45.00    
Expected term of volatility                       6 years 6 months 6 years 6 months  
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                       $ 3.45    
Expected term of volatility                       5 years 5 years  
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 Agreement [Member] | Aspire Capital Fund, LLC [Member]                            
Number of common stock shares issued   120,201                        
Percentage on aggregate commitment   3.00%                        
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            
Warrant exercisable date               May 13, 2018            
Warrant expiry date               Nov. 13, 2019            
Percentage of warrant to purchase common stock equal to common stock received               25.00%            
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