Skip to content
This repository has been archived by the owner on Nov 26, 2023. It is now read-only.

Commit

Permalink
Transmission.set_proj_config() automatically after Transmission.set_p…
Browse files Browse the repository at this point in the history
…roj_path()
  • Loading branch information
kushalkolar committed Apr 7, 2021
1 parent 7f3ecf2 commit 8bd20d0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions mesmerize/analysis/data_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,8 @@ def set_proj_path(self, path: str):

self._proj_path = path

self.set_proj_config()

def set_proj_config(self):
"""
Sets some project config related attributes from the project's config file.
Expand Down
1 change: 0 additions & 1 deletion mesmerize/plotting/widgets/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ def open_plot(self, ptrn_path: str, proj_path: str) -> Union[Tuple[str, str], No
f'This file is for the following plot type: {plot_type}')

ptrn.set_proj_path(proj_path)
ptrn.set_proj_config()

update_state = self.update_live

Expand Down
1 change: 0 additions & 1 deletion mesmerize/pyqtgraphCore/flowchart/library/Data.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ def load_file(self, path: str, qdialog=True):
def _set_proj_path(self, path: str):
self.ctrls['proj_path_label'].setText(os.path.basename(path))
self.t.set_proj_path(path)
self.t.set_proj_config()

def dir_dialog_proj_path(self):
path = QtWidgets.QFileDialog.getExistingDirectory(None, 'Select Project Folder')
Expand Down

0 comments on commit 8bd20d0

Please sign in to comment.