<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.pymol.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Aj</id>
	<title>PyMOL Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pymol.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Aj"/>
	<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php/Special:Contributions/Aj"/>
	<updated>2026-05-12T18:11:20Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Talk:Findseq&amp;diff=57</id>
		<title>Talk:Findseq</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Talk:Findseq&amp;diff=57"/>
		<updated>2009-11-05T17:03:21Z</updated>

		<summary type="html">&lt;p&gt;Aj: Created page with 'I noticed that while the selName argument is optional with a default value of 'foundSeqXYZ', not specifing it gives rise to this error:  Error: selName was not a string.  This is…'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I noticed that while the selName argument is optional with a default value of 'foundSeqXYZ', not specifing it gives rise to this error:&lt;br /&gt;
&lt;br /&gt;
Error: selName was not a string.&lt;br /&gt;
&lt;br /&gt;
This is because when the function seqFinder is called, is it set to None and then, the checkParams function makes sure that it is a string.  Changing line 48 to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
if type(selName)!=(types.StringType) and type(selName)!=(types.NoneType):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
solves the problem.&lt;br /&gt;
&lt;br /&gt;
[[User:Aj|Aj]]&lt;/div&gt;</summary>
		<author><name>Aj</name></author>
	</entry>
</feed>