﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
471	Commands executed twice	tic20@…	Eric Pettersen	"Sometimes commands are executed twice when entered in the command line and Return is pressed.  Appears to happen sporadically when commands that do a lot of computation are run.

Begin forwarded message:

From: Tristan Croll
Subject: Re: ISOLDE command
Date: November 3, 2016 at 7:18:22 AM PDT
To: Tom Goddard 


Hi Tom,

I've got a basic command-line interface to ISOLDE more-or-less working. The code for it is in cmd.py. Something along the lines of:

isolde sim atoms #1/A map #2

will get a simulation started, but for some reason I don't yet understand ChimeraX attempts to run it twice, leading to the following error message:

Traceback (most recent call last):
File ""/home/tic20/apps/chimerax/lib/python3.5/site-packages/chimerax/cmd_line/tool.py"", line 147, in execute
cmd.run(cmd_text)
File ""/home/tic20/apps/chimerax/lib/python3.5/site-packages/chimerax/core/commands/cli.py"", line 2236, in run
results.append(ci.function(session, **kw_args))
File ""/home/tic20/apps/chimerax/lib/python3.5/site-packages/chimerax/isolde/cmd.py"", line 85, in isolde
iobj.add_map('map0', map, mask_radius, k, mask=True)
File ""/home/tic20/apps/chimerax/lib/python3.5/site-packages/chimerax/isolde/isolde.py"", line 808, in add_map
raise Exception('Each map must have a unique name!')
Exception: Each map must have a unique name!

Any clues?

Thanks,

Tristan
"	defect	closed	major		Window Toolkit		fixed		goddard@…				all	ChimeraX
