X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=blobdiff_plain;f=src%2Fpython%2Ftest.py;h=67e6ecc48afef0268e8fb2138c09e68c3186c790;hb=431623ab5cb2ff34e7052b4bba0d84550a295c6a;hp=fcc769a5e69da4c0f0417adc0d88c602fb8eecc3;hpb=48c9a4855bde90a698842d4788168cb71744270c;p=alexxy%2Fgromacs.git diff --git a/src/python/test.py b/src/python/test.py index fcc769a5e6..67e6ecc48a 100644 --- a/src/python/test.py +++ b/src/python/test.py @@ -8,9 +8,10 @@ class M(TrajectoryAnalysis.TrajectoryAnalysisModule): def initOptions(self, options, settings): print('python: initOptions') + settings.setHelpText('A stupid test module') + self.optionsHolder = Options.PyOptionsHolder() - options.setDescription('A stupid test module') options.addOption(self.optionsHolder.selectionOption('sel').required()) options.addOption(self.optionsHolder.fileNameOption('file').defaultBasename('test').description('filename from python to rule them all').outputFile().required().filetype(Options.eftGenericData)) settings.setFlag(TrajectoryAnalysis.TrajectoryAnalysisSettings.efRequireTop)