File tree 16 files changed +426
-121
lines changed
16 files changed +426
-121
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -15,7 +15,8 @@ GitHub repository: https://github.com/CellProfiler/python-bioformats
15
15
16
16
Report bugs here: https://github.com/CellProfiler/python-bioformats/issues
17
17
18
- python-bioformats is licensed under the BSD license. See the
19
- accompanying file LICENSE for details.
18
+ python-bioformats is licensed under the GNU General Public License
19
+ (GPL). Many files are licensed under the more permissive BSD license.
20
+ See the accompanying files COPYING and LICENSE for details.
20
21
21
22
Copyright (c) 2009-2014 Broad Institute. All rights reserved.
Original file line number Diff line number Diff line change 1
- '''Bioformats package - wrapper for loci.bioformats java code
2
-
3
- CellProfiler is distributed under the GNU General Public License,
4
- but this file is licensed under the more permissive BSD license.
5
- See the accompanying file LICENSE for details.
1
+ # Python-bioformats is distributed under the GNU General Public
2
+ # License, but this file is licensed under the more permissive BSD
3
+ # license. See the accompanying file LICENSE for details.
4
+ #
5
+ # Copyright (c) 2009-2014 Broad Institute
6
+ # All rights reserved.
6
7
7
- Copyright (c) 2003-2009 Massachusetts Institute of Technology
8
- Copyright (c) 2009-2013 Broad Institute
9
- All rights reserved.
10
-
11
- Please see the AUTHORS file for credits.
8
+ '''Bioformats package - wrapper for loci.bioformats java code
12
9
13
- Website: http://www.cellprofiler.org
14
10
'''
15
11
__version__ = "$Revision$"
16
12
Original file line number Diff line number Diff line change
1
+ # Python-bioformats is distributed under the GNU General Public
2
+ # License, but this file is licensed under the more permissive BSD
3
+ # license. See the accompanying file LICENSE for details.
4
+ #
5
+ # Copyright (c) 2009-2014 Broad Institute
6
+ # All rights reserved.
7
+
1
8
'''formatreader.py - mechanism to wrap a bioformats ReaderWrapper and ImageReader
2
9
3
10
Example:
13
20
my_red_image, my_green_image, my_blue_image = \
14
21
[cs.open_bytes(cs.getIndex(0,i,0)) for i in range(3)]
15
22
16
- CellProfiler is distributed under the GNU General Public License,
17
- but this file is licensed under the more permissive BSD license.
18
- See the accompanying file LICENSE for details.
19
-
20
- Copyright (c) 2003-2009 Massachusetts Institute of Technology
21
- Copyright (c) 2009-2014 Broad Institute
22
- All rights reserved.
23
-
24
- Please see the AUTHORS file for credits.
25
-
26
- Website: http://www.cellprofiler.org'
27
23
'''
28
24
29
25
__version__ = "$Revision$"
Original file line number Diff line number Diff line change
1
+ # Python-bioformats is distributed under the GNU General Public
2
+ # License, but this file is licensed under the more permissive BSD
3
+ # license. See the accompanying file LICENSE for details.
4
+ #
5
+ # Copyright (c) 2009-2014 Broad Institute
6
+ # All rights reserved.
7
+
1
8
'''formatwriter.py - mechanism to wrap a bioformats WriterWrapper and ImageWriter
2
9
3
10
The following file formats can be written using Bio-Formats:
21
28
and is especially useful for formats that do not support multiple images per
22
29
file.
23
30
24
- CellProfiler is distributed under the GNU General Public License,
25
- but this file is licensed under the more permissive BSD license.
26
- See the accompanying file LICENSE for details.
27
-
28
- Copyright (c) 2003-2009 Massachusetts Institute of Technology
29
- Copyright (c) 2009-2014 Broad Institute
30
- All rights reserved.
31
-
32
- Please see the AUTHORS file for credits.
33
-
34
- Website: http://www.cellprofiler.org
35
31
'''
36
32
37
33
__version__ = "$Revision$"
Original file line number Diff line number Diff line change
1
+ # Python-bioformats is distributed under the GNU General Public
2
+ # License, but this file is licensed under the more permissive BSD
3
+ # license. See the accompanying file LICENSE for details.
4
+ #
5
+ # Copyright (c) 2009-2014 Broad Institute
6
+ # All rights reserved.
7
+
1
8
import unittest
2
9
import javabridge
3
10
Original file line number Diff line number Diff line change 1
- ''' metadatatools.py - mechanism to wrap some bioformats metadata classes
2
-
3
- CellProfiler is distributed under the GNU General Public License,
4
- but this file is licensed under the more permissive BSD license.
5
- See the accompanying file LICENSE for details.
1
+ # Python-bioformats is distributed under the GNU General Public
2
+ # License, but this file is licensed under the more permissive BSD
3
+ # license. See the accompanying file LICENSE for details.
4
+ #
5
+ # Copyright (c) 2009-2014 Broad Institute
6
+ # All rights reserved.
6
7
7
- Copyright (c) 2003-2009 Massachusetts Institute of Technology
8
- Copyright (c) 2009-2014 Broad Institute
9
- All rights reserved.
10
-
11
- Please see the AUTHORS file for credits.
8
+ ''' metadatatools.py - mechanism to wrap some bioformats metadata classes
12
9
13
- Website: http://www.cellprofiler.org
14
10
'''
15
11
16
12
__version__ = "$Revision$"
Original file line number Diff line number Diff line change 1
- # CellProfiler is distributed under the GNU General Public License.
2
- # See the accompanying file LICENSE for details.
1
+ # Python-bioformats is distributed under the GNU General Public
2
+ # License, but this file is licensed under the more permissive BSD
3
+ # license. See the accompanying file LICENSE for details.
3
4
#
4
- # Copyright (c) 2003-2009 Massachusetts Institute of Technology
5
- # Copyright (c) 2009-2013 Broad Institute
6
- #
7
- # Please see the AUTHORS file for credits.
8
- #
9
- # Website: http://www.cellprofiler.org
5
+ # Copyright (c) 2009-2014 Broad Institute
6
+ # All rights reserved.
10
7
11
8
import logging
12
9
from nose .plugins import Plugin
Original file line number Diff line number Diff line change
1
+ # Python-bioformats is distributed under the GNU General Public
2
+ # License, but this file is licensed under the more permissive BSD
3
+ # license. See the accompanying file LICENSE for details.
4
+ #
5
+ # Copyright (c) 2009-2014 Broad Institute
6
+ # All rights reserved.
7
+
1
8
"""omexml.py read and write OME xml
2
9
3
10
"""
4
- # CellProfiler is distributed under the GNU General Public License.
5
- # See the accompanying file LICENSE for details.
6
- #
7
- # Developed by the Broad Institute
8
- #
9
- # Copyright (c) 2003-2009 Massachusetts Institute of Technology
10
- # Copyright (c) 2003-2013 Broad Institute
11
- # All rights reserved.
12
- #
13
- # Please see the AUTHORS file for credits.
14
- #
15
- # Website: http://www.cellprofiler.org
16
- #
11
+
17
12
import xml .etree .ElementTree
18
13
from xml .etree import cElementTree as ElementTree
19
14
from cStringIO import StringIO
Original file line number Diff line number Diff line change 1
- '''
2
- CellProfiler is distributed under the GNU General Public License,
3
- but this file is licensed under the more permissive BSD license.
4
- See the accompanying file LICENSE for details.
5
-
6
- Copyright (c) 2003-2009 Massachusetts Institute of Technology
7
- Copyright (c) 2009-2013 Broad Institute
8
- All rights reserved.
9
-
10
- Please see the AUTHORS file for credits.
11
-
12
- Website: http://www.cellprofiler.org
13
- '''
14
-
Original file line number Diff line number Diff line change 1
- '''test_formatreader.py - test the Bioformats format reader wrapper
2
-
3
- CellProfiler is distributed under the GNU General Public License,
4
- but this file is licensed under the more permissive BSD license.
5
- See the accompanying file LICENSE for details.
1
+ # Python-bioformats is distributed under the GNU General Public
2
+ # License, but this file is licensed under the more permissive BSD
3
+ # license. See the accompanying file LICENSE for details.
4
+ #
5
+ # Copyright (c) 2009-2014 Broad Institute
6
+ # All rights reserved.
6
7
7
- Copyright (c) 2003-2009 Massachusetts Institute of Technology
8
- Copyright (c) 2009-2014 Broad Institute
9
- All rights reserved.
10
-
11
- Please see the AUTHORS file for credits.
8
+ '''test_formatreader.py - test the Bioformats format reader wrapper
12
9
13
- Website: http://www.cellprofiler.org
14
10
'''
15
11
16
12
import numpy as np
Original file line number Diff line number Diff line change 1
- '''test_formatwriter.py - test the Bioformats format reader wrapper
2
-
3
- CellProfiler is distributed under the GNU General Public License,
4
- but this file is licensed under the more permissive BSD license.
5
- See the accompanying file LICENSE for details.
6
-
7
- Copyright (c) 2003-2009 Massachusetts Institute of Technology
8
- Copyright (c) 2009-2014 Broad Institute
9
- All rights reserved.
1
+ # Python-bioformats is distributed under the GNU General Public
2
+ # License, but this file is licensed under the more permissive BSD
3
+ # license. See the accompanying file LICENSE for details.
4
+ #
5
+ # Copyright (c) 2009-2014 Broad Institute
6
+ # All rights reserved.
10
7
11
- Please see the AUTHORS file for credits.
8
+ '''test_formatwriter.py - test the Bioformats format reader wrapper
12
9
13
- Website: http://www.cellprofiler.org
14
10
'''
15
11
16
12
import numpy as np
@@ -75,4 +71,4 @@ def test_02_01_write_movie(self):
75
71
for i in range (img .shape [0 ]):
76
72
result = load_using_bioformats (path , t = i , rescale = False )
77
73
np .testing .assert_array_equal (img [i ], result )
78
-
74
+
Original file line number Diff line number Diff line change 1
- #!/usr/bin/env python
1
+ # Python-bioformats is distributed under the GNU General Public
2
+ # License, but this file is licensed under the more permissive BSD
3
+ # license. See the accompanying file LICENSE for details.
4
+ #
5
+ # Copyright (c) 2009-2014 Broad Institute
6
+ # All rights reserved.
2
7
3
8
import os
4
9
import unittest
Original file line number Diff line number Diff line change
1
+ # Python-bioformats is distributed under the GNU General Public
2
+ # License, but this file is licensed under the more permissive BSD
3
+ # license. See the accompanying file LICENSE for details.
4
+ #
5
+ # Copyright (c) 2009-2014 Broad Institute
6
+ # All rights reserved.
7
+
1
8
"""test_omexml.py read and write OME xml
2
9
3
10
"""
4
- # CellProfiler is distributed under the GNU General Public License.
5
- # See the accompanying file LICENSE for details.
6
- #
7
- # Developed by the Broad Institute
8
- #
9
- # Copyright (c) 2003-2009 Massachusetts Institute of Technology
10
- # Copyright (c) 2003-2013 Broad Institute
11
- # All rights reserved.
12
- #
13
- # Please see the AUTHORS file for credits.
14
- #
15
- # Website: http://www.cellprofiler.org
16
- #
11
+
17
12
import datetime
18
13
import os
19
14
import unittest
@@ -924,4 +919,4 @@ def test_14_17_set_position_z(self):
924
919
</Value>
925
920
</XMLAnnotation>
926
921
</StructuredAnnotations>
927
- </OME>"""
922
+ </OME>"""
Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ Python-bioformats and python-javabridge were developed for and are
13
13
used by the cell image analysis software CellProfiler
14
14
(cellprofiler.org).
15
15
16
+ python-bioformats is licensed under the GNU General Public License
17
+ (GPL). Many files are licensed under the more permissive BSD license.
18
+
16
19
17
20
Installation and testing
18
21
========================
Original file line number Diff line number Diff line change 15
15
url = "http://github.com/CellProfiler/python-bioformats/" ,
16
16
packages = ['bioformats' ],
17
17
classifiers = ['Development Status :: 5 - Production/Stable' ,
18
- 'License :: OSI Approved :: BSD License' ,
18
+ 'License :: OSI Approved :: GPL License' ,
19
19
'Programming Language :: Java' ,
20
20
'Topic :: Scientific/Engineering :: Bio-Informatics' ,
21
21
'Topic :: Multimedia :: Graphics :: Graphics Conversion'
22
22
],
23
- license = 'BSD License' ,
23
+ license = 'GPL License' ,
24
24
package_data = {'bioformats' : ['jars/*.jar' ]},
25
25
install_requires = ['javabridge>=1.0' ]
26
26
)
You can’t perform that action at this time.
0 commit comments