denshoproject / ddr-cmdln

Command-line tools for automating the Densho Digital Repository's various processes.
Other
0 stars 2 forks source link

Remove need for /tmp/entity.json template #170

Closed gjost closed 5 years ago

gjost commented 5 years ago

DDR used to start each object from a template which it placed at .e.g. /tmp/entity.json. It would copy this template from IIRC DDR/models/templates to /tmp/ and then use it for each new object. We don't need this any more since we now have OBJECT.write_json() but we haven't removed the template code.

When you run tests as non-ddr users you get an error the next time you run the code as ddr. Removing the template code should solve this.

gjost commented 5 years ago

Added as of ddr-cmdln commit cb967fd, ddr-local commit 348bb21, and ddr-defs commit 3af7afb.