Skip to content

Commit

Permalink
Update version to 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
andylassiter committed Jun 24, 2024
1 parent 820f7ee commit 2993199
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.2.0-rc]
## [0.2.0] - 2024-06-24

### Added

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ ENTRYPOINT [ "python", "splitter_of_mice/main.py" ]
CMD ["--help"]

# Label is a JSON string for XNAT's container service to parse
LABEL org.nrg.commands="[{\"name\": \"pixi-mice-image-splitter\", \"label\": \"pixi-mice-image-splitter\", \"description\": \"Split hotel image sessions into single subject image sessions\", \"version\": \"0.2.0-rc.1\", \"schema-version\": \"1.0\", \"info-url\": \"https://github.com/preclinical-imaging/pixi-mice-image-splitter\", \"container-name\": \"\", \"type\": \"docker\", \"index\": \"\", \"working-directory\": \"/usr/src/app\", \"command-line\": \"python run.py /input/SCANS /output --log-level DEBUG -u \$XNAT_USER -p \$XNAT_PASS -s \$XNAT_HOST #PROJECT_ID# #SESSION_LABEL#\", \"override-entrypoint\": true, \"mounts\": [{\"name\": \"input-mount\", \"writable\": false, \"path\": \"/input\"}, {\"name\": \"output-mount\", \"writable\": true, \"path\": \"/output\"}], \"environment-variables\": {}, \"ports\": {}, \"inputs\": [{\"name\": \"project_id\", \"label\": null, \"description\": \"XNAT id of the project\", \"type\": \"string\", \"matcher\": null, \"default-value\": null, \"required\": true, \"replacement-key\": \"#PROJECT_ID#\", \"sensitive\": null, \"command-line-flag\": \"-r\", \"command-line-separator\": null, \"true-value\": null, \"false-value\": null, \"select-values\": [], \"multiple-delimiter\": null}, {\"name\": \"hotel_session_label\", \"label\": null, \"description\": \"XNAT label of the hotel session\", \"type\": \"string\", \"matcher\": null, \"default-value\": null, \"required\": true, \"replacement-key\": \"#SESSION_LABEL#\", \"sensitive\": null, \"command-line-flag\": \"-e\", \"command-line-separator\": null, \"true-value\": null, \"false-value\": null, \"select-values\": [], \"multiple-delimiter\": null}], \"outputs\": [], \"xnat\": [{\"name\": \"hotel-session-splitter\", \"label\": \"Hotel Session Splitter\", \"description\": \"Split hotel image sessions into single subject image sessions\", \"contexts\": [\"xnat:imageSessionData\"], \"external-inputs\": [{\"name\": \"session\", \"label\": null, \"description\": \"Hotel session input\", \"type\": \"Session\", \"matcher\": null, \"default-value\": null, \"required\": true, \"replacement-key\": null, \"sensitive\": null, \"provides-value-for-command-input\": null, \"provides-files-for-command-mount\": \"input-mount\", \"via-setup-command\": null, \"user-settable\": null, \"load-children\": true}], \"derived-inputs\": [{\"name\": \"project-id\", \"label\": null, \"description\": \"XNAT Project ID\", \"type\": \"string\", \"matcher\": null, \"default-value\": null, \"required\": true, \"replacement-key\": null, \"sensitive\": null, \"provides-value-for-command-input\": \"project_id\", \"provides-files-for-command-mount\": null, \"user-settable\": null, \"load-children\": true, \"derived-from-wrapper-input\": \"session\", \"derived-from-xnat-object-property\": \"project-id\", \"via-setup-command\": null, \"multiple\": false, \"parser\": null}, {\"name\": \"hotel-session-label\", \"label\": null, \"description\": \"The hotel session's label\", \"type\": \"string\", \"matcher\": null, \"default-value\": null, \"required\": true, \"replacement-key\": null, \"sensitive\": null, \"provides-value-for-command-input\": \"hotel_session_label\", \"provides-files-for-command-mount\": null, \"user-settable\": null, \"load-children\": true, \"derived-from-wrapper-input\": \"session\", \"derived-from-xnat-object-property\": \"label\", \"via-setup-command\": null, \"multiple\": false, \"parser\": null}], \"output-handlers\": []}, {\"name\": \"scan-record-splitter\", \"label\": \"Scan Record Splitter\", \"description\": \"Split hotel image sessions into single subject image sessions based on scan record inputs\", \"contexts\": [\"pixi:hotelScanRecord\"], \"external-inputs\": [{\"name\": \"scan-record\", \"label\": null, \"description\": \"Hotel scan record input\", \"type\": \"ProjectAsset\", \"matcher\": null, \"default-value\": null, \"required\": true, \"replacement-key\": null, \"sensitive\": null, \"provides-value-for-command-input\": null, \"provides-files-for-command-mount\": null, \"via-setup-command\": null, \"user-settable\": null, \"load-children\": true}], \"derived-inputs\": [{\"name\": \"hotel-session-label\", \"label\": null, \"description\": \"The hotel session's label\", \"type\": \"string\", \"matcher\": null, \"default-value\": null, \"required\": true, \"replacement-key\": \"#SESSION_LABEL#\", \"sensitive\": null, \"provides-value-for-command-input\": \"hotel_session_label\", \"provides-files-for-command-mount\": null, \"user-settable\": null, \"load-children\": true, \"derived-from-wrapper-input\": \"scan-record\", \"derived-from-xnat-object-property\": \"datatype-string\", \"via-setup-command\": null, \"multiple\": false, \"parser\": \"/XFTItem/session_label[1]\"}, {\"name\": \"project\", \"label\": null, \"description\": \"Input project\", \"type\": \"Project\", \"matcher\": null, \"default-value\": null, \"required\": true, \"replacement-key\": null, \"sensitive\": null, \"provides-value-for-command-input\": null, \"provides-files-for-command-mount\": null, \"user-settable\": null, \"load-children\": true, \"derived-from-wrapper-input\": \"scan-record\", \"derived-from-xnat-object-property\": null, \"via-setup-command\": null, \"multiple\": false, \"parser\": null}, {\"name\": \"project-id\", \"label\": null, \"description\": \"XNAT Project ID\", \"type\": \"string\", \"matcher\": null, \"default-value\": null, \"required\": true, \"replacement-key\": null, \"sensitive\": null, \"provides-value-for-command-input\": \"project_id\", \"provides-files-for-command-mount\": null, \"user-settable\": null, \"load-children\": true, \"derived-from-wrapper-input\": \"project\", \"derived-from-xnat-object-property\": \"id\", \"via-setup-command\": null, \"multiple\": false, \"parser\": null}, {\"name\": \"subject\", \"label\": null, \"description\": \"Subject\", \"type\": \"Subject\", \"matcher\": \"'#SESSION_LABEL#' in @.sessions[*].label\", \"default-value\": null, \"required\": true, \"replacement-key\": null, \"sensitive\": null, \"provides-value-for-command-input\": null, \"provides-files-for-command-mount\": null, \"user-settable\": null, \"load-children\": true, \"derived-from-wrapper-input\": \"project\", \"derived-from-xnat-object-property\": null, \"via-setup-command\": null, \"multiple\": false, \"parser\": null}, {\"name\": \"session\", \"label\": null, \"description\": \"Session\", \"type\": \"Session\", \"matcher\": \"@.label == '#SESSION_LABEL#'\", \"default-value\": null, \"required\": true, \"replacement-key\": null, \"sensitive\": null, \"provides-value-for-command-input\": null, \"provides-files-for-command-mount\": \"input-mount\", \"user-settable\": null, \"load-children\": false, \"derived-from-wrapper-input\": \"subject\", \"derived-from-xnat-object-property\": null, \"via-setup-command\": null, \"multiple\": false, \"parser\": null}], \"output-handlers\": []}], \"runtime\": \"\", \"ipc-mode\": \"\", \"network\": \"\", \"container-labels\": {}, \"generic-resources\": {}, \"ulimits\": {}}]"
LABEL org.nrg.commands="[{\"name\": \"pixi-mice-image-splitter\", \"label\": \"pixi-mice-image-splitter\", \"description\": \"Split hotel image sessions into single subject image sessions\", \"version\": \"0.2.0\", \"schema-version\": \"1.0\", \"info-url\": \"https://github.com/preclinical-imaging/pixi-mice-image-splitter\", \"container-name\": \"\", \"type\": \"docker\", \"index\": \"\", \"working-directory\": \"/usr/src/app\", \"command-line\": \"python run.py /input/SCANS /output --log-level DEBUG -u \$XNAT_USER -p \$XNAT_PASS -s \$XNAT_HOST #PROJECT_ID# #SESSION_LABEL#\", \"override-entrypoint\": true, \"mounts\": [{\"name\": \"input-mount\", \"writable\": false, \"path\": \"/input\"}, {\"name\": \"output-mount\", \"writable\": true, \"path\": \"/output\"}], \"environment-variables\": {}, \"ports\": {}, \"inputs\": [{\"name\": \"project_id\", \"label\": null, \"description\": \"XNAT id of the project\", \"type\": \"string\", \"matcher\": null, \"default-value\": null, \"required\": true, \"replacement-key\": \"#PROJECT_ID#\", \"sensitive\": null, \"command-line-flag\": \"-r\", \"command-line-separator\": null, \"true-value\": null, \"false-value\": null, \"select-values\": [], \"multiple-delimiter\": null}, {\"name\": \"hotel_session_label\", \"label\": null, \"description\": \"XNAT label of the hotel session\", \"type\": \"string\", \"matcher\": null, \"default-value\": null, \"required\": true, \"replacement-key\": \"#SESSION_LABEL#\", \"sensitive\": null, \"command-line-flag\": \"-e\", \"command-line-separator\": null, \"true-value\": null, \"false-value\": null, \"select-values\": [], \"multiple-delimiter\": null}], \"outputs\": [], \"xnat\": [{\"name\": \"hotel-session-splitter\", \"label\": \"Hotel Session Splitter\", \"description\": \"Split hotel image sessions into single subject image sessions\", \"contexts\": [\"xnat:imageSessionData\"], \"external-inputs\": [{\"name\": \"session\", \"label\": null, \"description\": \"Hotel session input\", \"type\": \"Session\", \"matcher\": null, \"default-value\": null, \"required\": true, \"replacement-key\": null, \"sensitive\": null, \"provides-value-for-command-input\": null, \"provides-files-for-command-mount\": \"input-mount\", \"via-setup-command\": null, \"user-settable\": null, \"load-children\": true}], \"derived-inputs\": [{\"name\": \"project-id\", \"label\": null, \"description\": \"XNAT Project ID\", \"type\": \"string\", \"matcher\": null, \"default-value\": null, \"required\": true, \"replacement-key\": null, \"sensitive\": null, \"provides-value-for-command-input\": \"project_id\", \"provides-files-for-command-mount\": null, \"user-settable\": null, \"load-children\": true, \"derived-from-wrapper-input\": \"session\", \"derived-from-xnat-object-property\": \"project-id\", \"via-setup-command\": null, \"multiple\": false, \"parser\": null}, {\"name\": \"hotel-session-label\", \"label\": null, \"description\": \"The hotel session's label\", \"type\": \"string\", \"matcher\": null, \"default-value\": null, \"required\": true, \"replacement-key\": null, \"sensitive\": null, \"provides-value-for-command-input\": \"hotel_session_label\", \"provides-files-for-command-mount\": null, \"user-settable\": null, \"load-children\": true, \"derived-from-wrapper-input\": \"session\", \"derived-from-xnat-object-property\": \"label\", \"via-setup-command\": null, \"multiple\": false, \"parser\": null}], \"output-handlers\": []}, {\"name\": \"scan-record-splitter\", \"label\": \"Scan Record Splitter\", \"description\": \"Split hotel image sessions into single subject image sessions based on scan record inputs\", \"contexts\": [\"pixi:hotelScanRecord\"], \"external-inputs\": [{\"name\": \"scan-record\", \"label\": null, \"description\": \"Hotel scan record input\", \"type\": \"ProjectAsset\", \"matcher\": null, \"default-value\": null, \"required\": true, \"replacement-key\": null, \"sensitive\": null, \"provides-value-for-command-input\": null, \"provides-files-for-command-mount\": null, \"via-setup-command\": null, \"user-settable\": null, \"load-children\": true}], \"derived-inputs\": [{\"name\": \"hotel-session-label\", \"label\": null, \"description\": \"The hotel session's label\", \"type\": \"string\", \"matcher\": null, \"default-value\": null, \"required\": true, \"replacement-key\": \"#SESSION_LABEL#\", \"sensitive\": null, \"provides-value-for-command-input\": \"hotel_session_label\", \"provides-files-for-command-mount\": null, \"user-settable\": null, \"load-children\": true, \"derived-from-wrapper-input\": \"scan-record\", \"derived-from-xnat-object-property\": \"datatype-string\", \"via-setup-command\": null, \"multiple\": false, \"parser\": \"/XFTItem/session_label[1]\"}, {\"name\": \"project\", \"label\": null, \"description\": \"Input project\", \"type\": \"Project\", \"matcher\": null, \"default-value\": null, \"required\": true, \"replacement-key\": null, \"sensitive\": null, \"provides-value-for-command-input\": null, \"provides-files-for-command-mount\": null, \"user-settable\": null, \"load-children\": true, \"derived-from-wrapper-input\": \"scan-record\", \"derived-from-xnat-object-property\": null, \"via-setup-command\": null, \"multiple\": false, \"parser\": null}, {\"name\": \"project-id\", \"label\": null, \"description\": \"XNAT Project ID\", \"type\": \"string\", \"matcher\": null, \"default-value\": null, \"required\": true, \"replacement-key\": null, \"sensitive\": null, \"provides-value-for-command-input\": \"project_id\", \"provides-files-for-command-mount\": null, \"user-settable\": null, \"load-children\": true, \"derived-from-wrapper-input\": \"project\", \"derived-from-xnat-object-property\": \"id\", \"via-setup-command\": null, \"multiple\": false, \"parser\": null}, {\"name\": \"subject\", \"label\": null, \"description\": \"Subject\", \"type\": \"Subject\", \"matcher\": \"'#SESSION_LABEL#' in @.sessions[*].label\", \"default-value\": null, \"required\": true, \"replacement-key\": null, \"sensitive\": null, \"provides-value-for-command-input\": null, \"provides-files-for-command-mount\": null, \"user-settable\": null, \"load-children\": true, \"derived-from-wrapper-input\": \"project\", \"derived-from-xnat-object-property\": null, \"via-setup-command\": null, \"multiple\": false, \"parser\": null}, {\"name\": \"session\", \"label\": null, \"description\": \"Session\", \"type\": \"Session\", \"matcher\": \"@.label == '#SESSION_LABEL#'\", \"default-value\": null, \"required\": true, \"replacement-key\": null, \"sensitive\": null, \"provides-value-for-command-input\": null, \"provides-files-for-command-mount\": \"input-mount\", \"user-settable\": null, \"load-children\": false, \"derived-from-wrapper-input\": \"subject\", \"derived-from-xnat-object-property\": null, \"via-setup-command\": null, \"multiple\": false, \"parser\": null}], \"output-handlers\": []}], \"runtime\": \"\", \"ipc-mode\": \"\", \"network\": \"\", \"container-labels\": {}, \"generic-resources\": {}, \"ulimits\": {}}]"
2 changes: 1 addition & 1 deletion command.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "pixi-mice-image-splitter",
"label": "pixi-mice-image-splitter",
"description": "Split hotel image sessions into single subject image sessions",
"version": "0.2.0-rc.1",
"version": "0.2.0",
"schema-version": "1.0",
"info-url": "https://github.com/preclinical-imaging/pixi-mice-image-splitter",
"container-name": "",
Expand Down

0 comments on commit 2993199

Please sign in to comment.