MCPcopy Index your code
hub / github.com/WebODM/WebODM / create_task_directories

Method create_task_directories

app/models/task.py:1543–1554  ·  view source on GitHub ↗

Create directories for this task (if they don't exist already)

(self)

Source from the content-addressed store, hash-verified

1541
1542
1543 def create_task_directories(self):
1544 """
1545 Create directories for this task (if they don't exist already)
1546 """
1547 assets_dir = self.assets_path("")
1548 try:
1549 os.makedirs(assets_dir)
1550 except OSError as exc: # Python >2.5
1551 if exc.errno == errno.EEXIST and os.path.isdir(assets_dir):
1552 pass
1553 else:
1554 raise
1555
1556 def scan_images(self):
1557 tp = self.task_path()

Callers 3

import_filesFunction · 0.80
postMethod · 0.80
postMethod · 0.80

Calls 1

assets_pathMethod · 0.95

Tested by

no test coverage detected