This page covers what the BIOP needs to do when releasing scripts and code under various softwares
= EPFL Licensing Information =
EPFL Licensing is managed through the EPFL Technology Transfer Office (TTO)
https://tto.epfl.ch/before_sharing
== TL;DR ==
# EPFL has the full copyright
# Who did what in the code shoud be made explicit
# Contact TTO before sharing code made with people outside EPFL
# All software must be approved by head of laboratory before sharing
# Always attach LICENSE.TXT file to projects
# Always check the license of the libraries used for the code
# Most are GPLv3 but sometimes they can be different
= Licenses Depending on Software =
This table lists under what license we can publish our work
|Software| License |
|----------|---------|
| Imaris XTension | **GPLv3** |
| R Studio | MIT, compatible with **GPLv3** |
| Matlab | FreeBSD compatible with **GPLv3** |
| Fiji | GPLv3, see [[https://imagej.net/Licensing | here]] for all licenses |
| CellProfiler | BSD-3, compatible with **GPLv3**|
| Arivis | **GPLv3** |
| QuPath | **GPLv3** |
= For the BIOP =
(NOTE) Whenever possible, we release in BSD-3 which is the simplest and most permissive
(WARNING) Programming code should NOT be released under Creative Commons. Figures and text are not a problem.
Typical code header and license information should be as follows
```
= CODE DESCRIPTION =
What the code does
== INPUTS ==
What the code needs to run
== OUTPUTS ==
What the code returns
= DEPENDENCIES =
If the software needs additional libraries, where they are and how to install them
= INSTALLATION =
How to install and run the code
= AUTHOR INFORMATION =
Code written by XXX XXX, EPFL - SV -PTECH - BIOP
for XXX XXX, Lab XXX
DATE
= COPYRIGHT =
© All rights reserved. ECOLE POLYTECHNIQUE FEDERALE DE LAUSANNE, Switzerland, BioImaging And Optics Platform (BIOP), 2018
Licensed under the BSD-3-Clause License:
Redistribution and use in source and binary forms, with or without modification, are permitted provided
that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. 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.
3. Neither the name of the copyright holder 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.
```
== Java, ImageJ Macro, Groovy Version ==
```lang=java
/* = CODE DESCRIPTION =
* What the code does
*
* == INPUTS ==
* What the code needs to run
*
* == OUTPUTS ==
* What the code returns
*
* = DEPENDENCIES =
* If the software needs additional libraries, where they are and how to install them
*
* = INSTALLATION =
* How to install and run the code
*
* = AUTHOR INFORMATION =
* Code written by XXX XXX, EPFL - SV -PTECH - BIOP
* for XXX XXX, Lab XXX
* DATE
*
* = COPYRIGHT =
* © All rights reserved. ECOLE POLYTECHNIQUE FEDERALE DE LAUSANNE, Switzerland, BioImaging And Optics Platform (BIOP), 2018
*
* = COPYRIGHT =
* © All rights reserved. ECOLE POLYTECHNIQUE FEDERALE DE LAUSANNE, Switzerland, BioImaging And Optics Platform (BIOP), 2019
*
* Licensed under the BSD-3-Clause License:
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
* that the following conditions are met:
* 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* 2. 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.
* 3. Neither the name of the copyright holder 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.
*/
```
```lang=java
// = CODE DESCRIPTION =
// What the code does
//
// == INPUTS ==
// What the code needs to run
//
// == OUTPUTS ==
// What the code returns
//
// = DEPENDENCIES =
// If the software needs additional libraries, where they are and how to install them
//
// = INSTALLATION =
// How to install and run the code
//
// = AUTHOR INFORMATION =
// Code written by XXX XXX, EPFL - SV -PTECH - BIOP
// for XXX XXX, Lab XXX
// DATE
//
// = COPYRIGHT =
// © All rights reserved. ECOLE POLYTECHNIQUE FEDERALE DE LAUSANNE, Switzerland, BioImaging And Optics Platform (BIOP), 2018
//
// Licensed under the BSD-3-Clause License:
// Redistribution and use in source and binary forms, with or without modification, are permitted provided
// that the following conditions are met:
// 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
// 2. 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.
// 3. Neither the name of the copyright holder 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.
```