Hello,
The ... should indeed be replaced by your experiment name, but also in
either single or double quotes, e.g.
>>> expt = top.nmrProject.findFirstExperiment(name='HSQC')
Was that the only thing causing a syntax error and what was the error
message?
Wayne
On Thu, 26 Apr 2007, Ben Goult wrote:
> Hi
>
> >In the molecular system editor in the lower, chain fragments table you
> >can set the starting sequence number for each fragment.
> >
> >To make a chain with two discontinuous sections you must first create a
> >molecule with two sections. Simply do this by adding poylmer residues
> >twice for the same molecule. A chain built using this moecule template
> >will show two chain fragments, for which you can set different start
> >sequence numbers, as long as the numbering would not overlap.
> >
>
>
> This works very nicely, thank you. I never realised you could make fragments
> of chains.
>
> If I do this then is it correct that as far as Analysis is concerned the end
> of fragment 1 is connected to the start of fragment 2? I guess it is.
>
>
> Also, about removing molecular systems like Wayne suggested
>
> >>> expt = top.nmrProject.findFirstExperiment(name=...)
> >>> molSystem = top.project.findFirstMolSystem(code='MS1')
> >>> expt.removeMolSystem(molSystem)
>
> How do I get this to work? I typed this in at the python prompt and I get
> syntax errors, I also tried changing the ... to the relevant Experiment name
> and that also failed. Which bits do I need to change to get this to work OK?
>
> Cheers
>
> Ben
>
|