Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
logicvay2010 committed Aug 17, 2022
1 parent bb1f88f commit 3baf19c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

venv/
data/
build/
IsoNet.egg-info/
*.pyc
*.mrc
*/__pycache_
Expand Down
6 changes: 3 additions & 3 deletions gui/Isonet_star_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -641,17 +641,17 @@ def view_3dmod(self):
i = item.row()
j = item.column()
if previous_i != -1 and i != previous_i:
cmd = "{} {} {}".format(cmd,model_file,"3dmod")
cmd = "{} {} {}".format(cmd,model_file,"; 3dmod")
model_file=""
item_text = self.tableWidget.item(i, j).text()
if item_text[-4:] == '.mrc' or item_text[-4:] == '.rec':
cmd = "{} {}".format(cmd,item_text)
if self.model.header[j+1]=="rlnMaskBoundary" and item_text != "None":
model_file = "{}{}".format(item_text,";")
model_file = "{}".format(item_text)
previous_i = i

cmd = "{} {}".format(cmd,model_file)
print(cmd)
#print(cmd)

if cmd != "3dmod":
os.system(cmd)
Expand Down

0 comments on commit 3baf19c

Please sign in to comment.