<filename>spikesorters/yass/container/upload_singularity_container.py
#!/usr/bin/env python

from cairio import client as ca

ca.autoConfig(collection='spikeforest',
              key='spikeforest2-readwrite', ask_password=True)
sha1_path = ca.saveFile('yass.simg')
print(sha1_path)

<filename>spikesorters/yass/container/upload_singularity_container.py
#!/usr/bin/env python

from cairio import client as ca

ca.autoConfig(collection='spikeforest',
              key='spikeforest2-readwrite', ask_password=True)
sha1_path = ca.saveFile('yass.simg')
print(sha1_path)

#!/usr/bin/env python