MCPcopy Create free account
hub / github.com/DeepLabCut/DeepLabCut / load_config

Method load_config

deeplabcut/gui/tabs/open_project.py:60–69  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

58 self.open_line.text()
59
60 def load_config(self):
61 cwd = os.getcwd()
62 config = QtWidgets.QFileDialog.getOpenFileName(
63 self, "Select a configuration file", cwd, "Config files (*.yaml)"
64 )
65 if not config:
66 return
67 self.config = config[0]
68 self.open_line.setText(self.config)
69 self.ok_button.setFocus()
70
71 def open_project(self):
72 if self.config == "":

Callers 2

_open_projectMethod · 0.95
finalize_projectMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected