Skip to content

Conversation

@tobyhodges
Copy link
Contributor

A first attempt at a lesson on custom types. I couldn't find much description of exactly how they are implemented/use cases, so some of what I've written might be inaccurate. Please have a look through and let me know what you'd like me to add/change.

Perhaps I should include a warning against actually downloading interproscan, because it's so large?

The reference to a custom type is a combination of the name of the file in which
the object is defined (`InterProScan-apps.yml`) and the name of the object
within that file (`apps`) that defines the custom type. The square brackets
`[]` define the value of the imported type as an array.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The [] mean that we want an array of the preceding type, in this case the apps type from the imported InterProScan-apps.yaml file

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, great! Thanks for the clarification. I will update and push tomorrow morning.

@tobyhodges
Copy link
Contributor Author

This is ready

@mr-c mr-c merged commit 6a67f62 into gh-pages Sep 8, 2017
@mr-c mr-c deleted the custom-types branch September 8, 2017 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants