Alyssa Goodman edited Linking and Executing Code.md  over 9 years ago

Commit id: 30520fa7895eaae10e62b5273116c0ed57a53db8

deletions | additions      

       

# Offering Access to Code  Inthe  modern practice of astronomy research articles,  a paper is often linked to a swath swaths  of computer code that outputs output  boththe  numerical conclusions of in  the paper (e. g. parameter estimates and errors) andthe  associated figures. Since reproducibility is a bedrock principle of the scientific method,we believe that  easy access to underpinning code is crucial part of future publications. ## Links to Software Programs  By combining tools discussed elsewhere in this document, once can "mint" digital object identifiers that point to a particular version of software, assuming it is stored in an organized repostitory. One example is given here: https://guides.github.com/activities/citable-code/, on a web page that shows how to mint a citable DOI for code using the [GitHub](http://github.com) and [Zenodo] (http://zenodo.org) services together. In Alternatively, in  a model more directly akinto publishing code in exactly  the way one currently publishes a paper, services like the [Astrophysics Source Code Library (ASCL)](ascl.net) allow authors to publish a static version of a program, and to assign that version an identifier. At present, The ASCL is indexed by the SAO/NASA Astrophysics Data System (ADS) and is citable by using the unique ascl ID assigned to each program. ## Executable Figures