Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

  • 748d2e1
  • /
  • scriptsRun
  • /
  • codeocean.sh
Raw File Download

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
content badge Iframe embedding
swh:1:cnt:39f0c83fac41dd096206fc923d8ec880c1c8740c
directory badge Iframe embedding
swh:1:dir:d60f471952d1781a05a1c41e0b89fcf43f3dda4b

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
codeocean.sh
#!/usr/bin/env bash

# In this script a sample use of TOMATO software is presented
# The TOMATO code can be found here: https://github.com/MRKonrad/tomato
# Binaries used here have been build in continous integration systems, their scripts can be found here:
# Travis (Linux and Osx): https://github.com/MRKonrad/tomato/blob/master/.travis.yml
# Appveyor (Windows): https://github.com/MRKonrad/tomato/blob/master/.appveyor.yml
# The code has not been built using Codeocean to avoid redundancy with the builds listed above

echo ""
echo "### Get TOMATO executable"
curl -L -O https://github.com/MRKonrad/tomato/releases/download/v0.4/TomatoExe_v0.4_linux.zip
unzip -a -q TomatoExe_v0.4_linux.zip

echo ""
echo "### Get some sample data"
mkdir testData
cd testData
curl -L -O https://github.com/MRKonrad/tomato/releases/download/v0.4/testData.zip
unzip -a -q testData.zip
cd ..

echo ""
echo "### Check the contents of the main folder"
ls -la

echo ""
echo "### Check the contents of the data folder"
ls -la testData

echo ""
echo "### Run an example"
echo "### the configuration file (tomatoConfig_Shmolli_inputFilePaths.yaml) contains all the adjustable calculation parameters"
./TomatoExe testData/tomatoConfig_Shmolli_inputFilePaths.yaml

echo ""
echo "### Check the contents of the output folder with T1 maps"
ls -la testData/tomatoOutput_Shmolli/map

echo ""
echo "### Check the contents of the output folder with other maps"
ls -la testData/tomatoOutput_Shmolli/fitparams

back to top

Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API