Skip to content

Commit

Permalink
Change code license from MIT to BSD
Browse files Browse the repository at this point in the history
  • Loading branch information
cdeil committed Sep 1, 2016
1 parent 755735a commit 3443fc9
Show file tree
Hide file tree
Showing 13 changed files with 40 additions and 32 deletions.
21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

25 changes: 25 additions & 0 deletions LICENSE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Copyright (c) 2014, gamma-cat contributors
All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this
list of conditions and the following disclaimer in the documentation and/or
other materials provided with the distribution.
* Neither the name of the Astropy Team nor the names of its contributors may be
used to endorse or promote products derived from this software without
specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ An open catalog of gamma-ray sources.

* Repo: https://github.com/gammapy/gamma-cat
* Webpage: https://gammapy.github.io/gamma-cat
* Terms of use: see [About](https://github.com/gammapy/gamma-cat/blob/master/README_ABOUT.md) page.

This repo contains a `gammacat` Python package to work with the data.
It is BSD licensed (like Astropy, Gammapy).
This license only applies to the code, it has nothing to do with the data.

This is work in progress.
Feedback and contributions welcome!
Expand Down
1 change: 1 addition & 0 deletions gammacat/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
This is the gammacat Python package.
Expand Down
1 change: 1 addition & 0 deletions gammacat/checks.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
Automated tests for gamma-cat
"""
Expand Down
1 change: 1 addition & 0 deletions gammacat/info.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
import subprocess
from pathlib import Path

Expand Down
1 change: 1 addition & 0 deletions gammacat/input.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
Classes to read, validate and work with the input data files.
"""
Expand Down
1 change: 1 addition & 0 deletions gammacat/output.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
Classes to read, validate and work with the input data files.
"""
Expand Down
1 change: 1 addition & 0 deletions gammacat/tests/test_input.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
import gammacat


Expand Down
1 change: 1 addition & 0 deletions gammacat/tests/test_output.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
import gammacat


Expand Down
12 changes: 1 addition & 11 deletions gammacat/utils.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from pathlib import Path
import json
import yaml
import numpy as np
from astropy.table import Table
from astropy.coordinates import SkyCoord

MISSING_VAL = dict(
Expand All @@ -21,15 +20,6 @@ def load_yaml(path):
return data


def make_table(row_data, column_def):
"""Helper function to make an Astropy Table from row data.
The main reason this is needed is that it's hard to construct
a table with missing data.
"""
pass


def print_simbad_pos(name):
"""Print YAML snipped for SIMBAD position.
"""
Expand Down
1 change: 1 addition & 0 deletions gammacat/webpage.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
Make a simple HTML webpage.
"""
Expand Down
1 change: 1 addition & 0 deletions make.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
# Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
Make catalog (multiple steps available)
"""
Expand Down

0 comments on commit 3443fc9

Please sign in to comment.