Subject: Re: sparky2csi
From: Markus Heller
Date: Mar 27, 2006

Previous: 88

--- In nmr_sparky@yahoogroups.com , Thomas Goddard goddard@... wrote:

Hi Markus,

Indentation of lines is important in Python. The trouble that you
need the session.add_command() line indented as follows.


thanks, that did the trick!!

markus

Tom


def initialize_session(session):

def CS_command(s = session):
import csi_output
csi_output.write_csi_shifts(s)

session.add_command(CS, AJP/Write CSI format shift file (CS),
CS_command)