2

Someone published a paper whose supplementary material contains source code. Can I include part of that code (I would mark it as copied in the source and the manuscript) in my own code, which is intended for the supplementary material of my own paper?

If not (or at least not automatically), who would I have to contact to ask for permission, the journal or the author of the other paper?

3
  • 3
    How is it licensed?
    – Jon Custer
    Mar 12, 2018 at 13:26
  • @JonCuster I don't know. I thought maybe the rights to to the journal and someone here can tell me where the licensing information can then be found. (Or, a different construction with a similar result, that journals always force authors to give their code a certain license)
    – Bananach
    Mar 12, 2018 at 17:37
  • @JonCuster I found this on the publishers website about.hindawi.com/authors/open-access but I don't know if this applies to the supplementary material as well
    – Bananach
    Mar 12, 2018 at 18:03

2 Answers 2

3

If the published code is licensed, follow the terms of the license. This website sums up in a concise way what the most common open source licenses allow you to do or not.

If you cannot find a license, or if you are sure there is none, then by default you have almost no right to do anything with it (in most countries, no license means all rights reserved to the author). You still have the right to contact the corresponding author of the article, or the author of the code (if they are not the same person, and if you can find the contact info of the author of the code), and request permission to reuse their code, or even better ask them to explicitly attach the license of their choice to their code. Then, follow the license terms.

0

Ask the author. First, possibly, they made this code available elsewhere, e.g., Github, and you can reference that place, instead of saying that you copied the code from a journal article. Second, if what you do is copy over parts of someone else's code it into your code, there's a chance that the author would object to that, and would instead propose a cleaner way to re-use their work.

But it is a good question, what happens to the rights on the code that is submitted to a journal as supplementary material. I don't know.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .