The module

User 912 | 1/29/2015, 6:03:12 PM

With the risk of sounding too stupid, but I usually delete jobs by specifying their index and this time I forgot to add it, so I kind of deleted the module with "del".. What can I do to fix this?


User 398 | 1/29/2015, 9:12:56 PM


Firstly, you might want to use the delete method in the future, which allows you to specify by jobs by name (or by a glob pattern):

<pre class="CodeBlock"><code>"Model-Parameter-Search*") </code></pre>

This command: <pre class="CodeBlock"><code>del</code></pre> amounts to deleting the global reference to jobs in your current session. One way to get it back is just to quit your Python session and start it up again. Have you tried that?

User 912 | 2/1/2015, 12:06:57 PM

Oh, okay, that makes sense.. Yes, fixed it.