neurodatascience / NeuroCI

13 stars 7 forks source link

Slurm API #4

Closed rmanaem closed 1 week ago

rmanaem commented 1 year ago

This PR includes the implementation of Slurm API.

Slurm API allows NeuroCI to accomplish a number of tasks on a remote server (running Slurm) in pure Python by utilizing SSH connection without the need to access the terminal. It is developed using Paramiko and python's scp library to replace the existing Cbrain API and to help generalize the NeuroCI framework.

List of Slurm API functions and their counterparts in Cbrain API:

All of the above functions have been locally tested with various simple use cases however, the API hasn't been tested with automated testing.