-
Notifications
You must be signed in to change notification settings - Fork 23
Header info
Steve Bond edited this page Sep 24, 2015
·
3 revisions
The following are present at the top of each BuddySuite module.
- Hashbang line, pointing to Python3
- Encoding line, utf-8
- Brief license notice
- Meta-data describing the project
An example from SeqBuddy:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation, version 2 of the License (GPLv2).
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
details at http://www.gnu.org/licenses/.
name: SeqBuddy.py
date: Nov-20-2014
version: 2, unstable
author: Stephen R. Bond
email: steve.bond@nih.gov
institute: Computational and Statistical Genomics Branch, Division of Intramural Research,
National Human Genome Research Institute, National Institutes of Health
Bethesda, MD
repository: https://github.com/biologyguy/BuddySuite
© license: Gnu General Public License, Version 2.0 (http://www.gnu.org/licenses/gpl.html)
derivative work: No
Description:
Collection of functions that do fun stuff with sequences. Pull them into a script, or run as a command line tool.
"""