{"id":20566198,"url":"https://github.com/aces/cbrain-plugins-loris","last_synced_at":"2025-08-27T01:39:21.878Z","repository":{"id":139175197,"uuid":"122243718","full_name":"aces/cbrain-plugins-loris","owner":"aces","description":"CBRAIN extensions for supporting LORIS installations","archived":false,"fork":false,"pushed_at":"2022-03-04T20:56:21.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-01-16T20:18:50.199Z","etag":null,"topics":["cbrain-plugin"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aces.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-02-20T19:15:48.000Z","updated_at":"2022-03-04T20:56:24.000Z","dependencies_parsed_at":"2023-10-20T16:18:43.428Z","dependency_job_id":null,"html_url":"https://github.com/aces/cbrain-plugins-loris","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aces%2Fcbrain-plugins-loris","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aces%2Fcbrain-plugins-loris/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aces%2Fcbrain-plugins-loris/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aces%2Fcbrain-plugins-loris/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aces","download_url":"https://codeload.github.com/aces/cbrain-plugins-loris/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242179259,"owners_count":20084940,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cbrain-plugin"],"created_at":"2024-11-16T04:40:32.798Z","updated_at":"2025-03-06T08:46:55.760Z","avatar_url":"https://github.com/aces.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n## Introduction\n\nThis repository is a package containing a set of plugins for the\n[CBRAIN](https://github.com/aces/cbrain) platform.\n\n## Contents of this package\n\nThis package provides some support models, tasks and data providers for interacting\nwith [LORIS](https://github.com/aces/loris) installations.\n\n#### 1. Userfile models\n\n| Name                         | Description                                                                                     |\n|------------------------------|-------------------------------------------------------------------------------------------------|\n| LorisBySubjectAndVisit       | A FileCollection used to represent the mappings in LorisPhantomNativeSshDataProvider            |\n\n#### 2. CbrainTasks\n\n| Name          | Description                                                                                    |\n|---------------|------------------------------------------------------------------------------------------------|\n| TODO | TODO |\n\n#### 3. DataProviders\n\nAll these DataProviders ruby models implement subclasses of the SshDataProvider, where\nthe target files are selectively chosen among the directory structure for the LORIS Assembly\nfile system tree.\n\n| Name          | Description                                                                                                                     |\n|---------------|---------------------------------------------------------------------------------------------------------------------------------|\n| LorisAssemblyNativeSshDataProvider            | Maps only MINC files in \\*/\\*/mri/native/\\*.mnc                                                 |\n| LorisAssemblyProcessedSshDataProvider         | Maps any files in \\*/\\*/mri/processed/\\*                                                        |\n| LorisCcnaPhantomAssemblyNativeSshDataProvider | Like LorisAssemblyNativeSshDataProvider except the path components are more strictly controlled |\n| LorisPhantomNativeSshDataProvider             | Maps Loris repository according to some convention regarding the Subject_id and the Visit_id    |\n\n\n## How to install this package\n\nAn existing CBRAIN installation is assumed to be operational before\nproceeding.\n\nThis package must be installed once on the BrainPortal side of a\nCBRAIN installation, and once more on each Bourreau side.\n\n#### 1. Installation on the BrainPortal side:\n\n  * Go to the `cbrain_plugins` directory under BrainPortal:\n\n```bash\ncd /path/to/BrainPortal/cbrain_plugins\n```\n\n  * Clone this repository. This will create a subdirectory called\n  `cbrain-plugins-neuro` with the content of this repository:\n\n```bash\ngit clone git@github.com:aces/cbrain-plugins-loris.git\n```\n\n  * Run the following rake task:\n\n```bash\nrake cbrain:plugins:install:all\n```\n\n  * Restart all the instances of your BrainPortal Rails application.\n\n#### 2. Installation on the Bourreau side:\n\n**Note**: If you are using the Bourreau that is installed just\nbesides your BrainPortal application, you do not need to make\nany other installation steps, as they share the content of\nthe directory `cbrain_plugins` through a symbolic link; you\nonly need to *restart your Bourreau server*.\n\n  * Go to the `cbrain_plugins` directory under BrainPortal\n  (yes, *BrainPortal*, because that's where files are installed; on\n  the Bourreau side `cbrain_plugins` is a symbolic link):\n\n```bash\ncd /path/to/BrainPortal/cbrain_plugins\n```\n\n  * Clone this repository:\n\n```bash\ngit clone git@github.com:aces/cbrain-plugins-loris.git\n```\n  * Run the following rake task (which is not the same as for\n  the BrainPortal side):\n\n```bash\nrake cbrain:plugins:install:plugins\n```\n\n  * Restart your execution server (with the interface, click stop, then start).\n\n#### 3. In case of problems during installation\n\n  * Consider running the rake task that cleans all previous installations\n    of tools and userfiles, then trying again the rake tasks mentioned above.\n\n```bash\nrake cbrain:plugins:clean:all\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faces%2Fcbrain-plugins-loris","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faces%2Fcbrain-plugins-loris","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faces%2Fcbrain-plugins-loris/lists"}