Quarterly report pursuant to Section 13 or 15(d)

Stockholders' Equity - Schedule of Changes in Stockholders' Equity (Details)

v3.10.0.1
Stockholders' Equity - Schedule of Changes in Stockholders' Equity (Details) - USD ($)
3 Months Ended 6 Months Ended
Jan. 31, 2019
Jan. 31, 2018
Jan. 31, 2019
Jan. 31, 2018
Equity [Abstract]        
Stockholders' equity at beginning of period     $ 22,924,206 $ 10,695,982
Net loss $ (8,315,027) $ (10,736,101) (15,890,643) (16,636,553)
Stock-based compensation     2,304,108 2,981,509
Common stock issued for services     445,611 843,250
Modification of equity award     135,425
Issuance of common stock through employee stock purchase plan     23,390 19,048
Equity offerings, net of costs     14,141,895 7,886,913
Accumulated other comprehensive income (loss)     61,857 23,865
Exercise of common stock warrants     9,593,733
Exercise of common stock options     566,135 157,928
Inducement warrant issuance 2,465,396 2,465,396
Tax withholdings paid on equity awards     (50,640)
Tax shares sold to pay for tax withholdings on equity awards     40,243
Tax withholdings paid related to net share settlement of equity awards     (32,505)
Stockholders' equity at end of period $ 24,669,082 $ 18,031,071 $ 24,669,082 $ 18,031,071