Quarterly report pursuant to Section 13 or 15(d)

Income taxes (Details)

v3.8.0.1
Income taxes (Details) - USD ($)
$ in Thousands
3 Months Ended 5 Months Ended 7 Months Ended 9 Months Ended
Apr. 30, 2018
Apr. 30, 2017
Dec. 31, 2017
Jul. 31, 2018
Apr. 30, 2018
Apr. 30, 2017
Income taxes (Details) [Line Items]            
Effective Income Tax Rate Reconciliation, at Federal Statutory Income Tax Rate, Percent     35.00%      
Effective Income Tax Rate Reconciliation, Percent 0.00%       24.10%  
Income Tax Expense (Benefit) (in Dollars)   $ 0     $ (1,097) $ 0
Scenario, Plan [Member]            
Income taxes (Details) [Line Items]            
Effective Income Tax Rate Reconciliation, at Federal Statutory Income Tax Rate, Percent       21.00%    
Alternate Minimum Tax [Member]            
Income taxes (Details) [Line Items]            
Effective Income Tax Rate Reconciliation, Tax Credit, Amount (in Dollars)         $ 1,100