Skip to content

Commit

Permalink
Delete data on rerun-all
Browse files Browse the repository at this point in the history
  • Loading branch information
Dakota Benjamin committed Sep 1, 2017
1 parent 71ce346 commit 1e41390
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ has equivalent procedures for Mac OS X and Windows found at [docs.docker.com](do
docker run -it --rm -v $(pwd)/images:/code/images -v $(pwd)/odm_orthophoto:/code/odm_orthophoto -v $(pwd)/odm_texturing:/code/odm_texturing opendronemap/opendronemap
```

### Native Install (Ubuntu Trusty or Xenial)
### Native Install (Ubuntu 16.04)

** Please note that we need help getting ODM updated to work for 16.10+. Look at #659 or drop into the [gitter][https://gitter.im/OpenDroneMap/OpenDroneMap) for more info.

Expand Down
15 changes: 8 additions & 7 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,15 @@
# If user asks to rerun everything, delete all of the existing progress directories.
# TODO: Move this somewhere it's not hard-coded
if args.rerun_all:
log.ODM_DEBUG("Rerun all -- Removing old data")
os.system("rm -rf "
+ args.project_path + "images_resize/ "
+ args.project_path + "odm_georeferencing/ "
+ args.project_path + "odm_meshing/ "
+ args.project_path + "odm_orthophoto/ "
+ args.project_path + "odm_texturing/ "
+ args.project_path + "opensfm/ "
+ args.project_path + "pmvs/")
+ args.project_path + "/images_resize "
+ args.project_path + "/odm_georeferencing "
+ args.project_path + "/odm_meshing "
+ args.project_path + "/odm_orthophoto "
+ args.project_path + "/odm_texturing "
+ args.project_path + "/opensfm "
+ args.project_path + "/pmvs")

# create an instance of my App BlackBox
# internally configure all tasks
Expand Down

0 comments on commit 1e41390

Please sign in to comment.