Quarterly report pursuant to Section 13 or 15(d)

Net income (loss) per share (Details)

v3.8.0.1
Net income (loss) per share (Details) - shares
3 Months Ended
Oct. 31, 2017
Oct. 31, 2016
Outstanding Options [Member]    
Net income (loss) per share (Details) [Line Items]    
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 0 0
In the Money Stock Options [Member] | Unvested Restricted Stock [Member]    
Net income (loss) per share (Details) [Line Items]    
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 931,000 720,000