Skip to content

Commit 5fc936b

Browse files
authored
Merge pull request #207 from PhysiCell-Tools/development
Development
2 parents 80ff845 + 9cf57c0 commit 5fc936b

3 files changed

Lines changed: 14 additions & 3 deletions

File tree

VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.37.3
1+
2.37.4

bin/cell_def_tab.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6752,7 +6752,7 @@ def add_new_substrate(self, sub_name): # called for both "New" and "Copy" of su
67526752
# initialize secretion params
67536753
self.param_d[cdname]["secretion"][sub_name] = {}
67546754
self.param_d[cdname]["secretion"][sub_name]["secretion_rate"] = sval
6755-
self.param_d[cdname]["secretion"][sub_name]["secretion_target"] = sval
6755+
self.param_d[cdname]["secretion"][sub_name]["secretion_target"] = 1.0
67566756
self.param_d[cdname]["secretion"][sub_name]["uptake_rate"] = sval
67576757
self.param_d[cdname]["secretion"][sub_name]["net_export_rate"] = sval
67586758

bin/studio.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,18 @@ def save_as_cb(self):
752752
print("len(full_path_model_name) = ", len(full_path_model_name) )
753753
# self.current_save_file = full_path_model_name
754754
orig_file_name = self.current_xml_file
755-
self.current_xml_file = full_path_model_name
755+
self.current_xml_file =full_path_model_name
756+
757+
# print("full_path_model_name[-4:]= ",full_path_model_name[-4:] )
758+
if full_path_model_name[-4:] != ".xml":
759+
print("missing .xml suffix")
760+
msgBox = QMessageBox()
761+
msgBox.setIcon(QMessageBox.Information)
762+
msgBox.setText("Missing a .xml suffix. Continue?")
763+
msgBox.setStandardButtons(QMessageBox.Ok | QMessageBox.Cancel)
764+
returnValue = msgBox.exec()
765+
if returnValue == QMessageBox.Cancel:
766+
return
756767
else:
757768
return
758769

0 commit comments

Comments
 (0)