-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Not a problem Peter, it's a somewhat subtle bug to have, and there isn't
a lot of documentation on the wiki about writing new datatypes (though I
plan to fix that soon).

That particular error message could stand to be a bit more explicit.
(e.g., "Did you forget to add import mylib to registry.py?").

Also, thanks for sharing the blog post. Since we develop all of our
tools internally, I may adapt and publish your post with similar
instructions for jenkins, if that's all right by you.

Cheers,
Eric

On 07/17/2014 11:46 AM, Peter Cock wrote:
> On Thu, Jul 17, 2014 at 4:31 PM, Eric Rasche <rasche.e...@yandex.ru> wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> For those reading this thread from the future, there's a secret to
>> adding completely new datatypes locally (and not through a toolshed).
>>
>> You have to manually edit lib/galaxy/datatypes/registry.py and import
>> the module you've written at the top of the file.
>>
>> For instance, if you add a new "gbk.py" datatype, you'll need to add
>> "import gbk" to the top of registry.py. This will cause your errors to
>> go away and your datatype to be loaded on startup.
>>
>> Thanks to John Chilton for answering this on IRC.
>>
>> Cheers,
>> Eric
> 
> Indeed - sorry I hadn't spotted that complication.
> 
> The README files for these datatype extensions may help:
> 
> https://github.com/peterjc/galaxy_blast/tree/master/datatypes/blast_datatypes
> https://github.com/peterjc/pico_galaxy/tree/master/datatypes/mira_datatypes
> 
> I have to do this manually with some sed magic in my TravisCI
> automated set setup, see:
> 
> http://blastedbio.blogspot.co.uk/2013/09/using-travis-ci-for-testing-galaxy-tools.html
> 
> Peter
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAEBAgAGBQJTx//oAAoJEMqDXdrsMcpVY40P/2KI2RniuGgsl7w0Mt3by4wP
XIWAsRRYUL/I4pTqEgtg3/aMn/9J2PFfPTvJMJbwCboT7Bn/4q0vc4qW7MDPSsjR
1V1XZ/5dEi0Q/gjXQYZmib2uSBgnRR58XR8/ae2UUKDINJv2BsToIB7Z60bB2XAI
a/b7qLXgq37NOFaZmBsqCse1yf7D9qD20Gf3c2uNYRPdARbkTVNMfjNoCzbNkMiJ
QyPt0c7ZetrKUseEgKoBa4EtO/y8uU7EHdYo2WxtmymZFdeIzTit9XKk/l6V0p2G
pqwcc504r0AsKA46/5BY5g9MpboEk36CRG0u+CG3vWv958MKxKMblKYE7qexqq9p
6UrsdxvHohX4IlTMU4GEwCMvks+jn2JwMqYGUOpk8yQLkTALxRUfJcheN3RtMvfF
jRT2xzUm0s3dwKCHX5v7dePYIYLRvpig8CwRtL2FQZTntxJh2FAvwnL6ViUi/jGL
+FYjfGFDMRvqqY81nAqUh7dfjEOVf8J5lTAL2YTzZ8y8sLDtZNaeCdNj+4IUOYJT
5QEDpKH/TR4W8MnlmE5gLFZC0Yf0v951pikjMR+rI2mYVf1uYT1UVeWpPT2JZXdw
gbNOt/Gu9gcK2GTAmd223bCy3zPZGkVW3JVJlTo1wiyx7Bx3umQGLQEDu3aGpOEm
b2DJ01ovMrEsr9X83v9i
=TZls
-----END PGP SIGNATURE-----
___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/

Reply via email to