For Power-Users‎ > ‎

6. Adding sniffers for your data types

There are two ways a file is detected in galaxy: by file extension, or by sniffing. For every datatype you add, you should also add a sniffer function. All sniffers should be added to the faceit_datatypes repository.

The following links contain some information about datatypes and sniffers:
An example of a sniffer used in faceit can be found at Take a look at the sniff method in the PSIMSSoil class. It returns true if a given files matches a specified JSON schema, false otherwise.