We demolished our rental property on the orders of city. How do I file my demolishing costs? Can the remaining depreciation on the structure get deducted?

This is for 2017. The property is not rented during the year.