Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow specifying custom exporter classes outside the JBrowse namespace #682
We saw a scenario where one of our track types had a quirk with "Save track data" and I thought that it would be useful to have the ability to specify a custom exporter class.
This PR simply checks whether the name of the class that is specified by the track type contains slashes, and if it does, then we assume it is a full path to a exporter module rather than something that already exists in JBrowse namespace.
For example, I could have a class like this that inherits from the default gff3 exporter
And then use it for some custom trackType by overriding _exportFormats