You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constprompt=`You are a neuroimaging data expert. Analyze the following file structure and metadata from a neuroimaging dataset and generate a Python script to convert it to BIDS format.
185
185
186
+
BASE DIRECTORY PATH: ${baseDirectoryPath}
187
+
186
188
FILE STRUCTURE AND METADATA:
187
189
${fileSummary}
188
190
189
-
all _sourcePath are relative to the root path ${baseDirectoryPath}
191
+
IMPORTANT: All file paths shown above are RELATIVE paths. The actual files are located in the base directory: ${baseDirectoryPath}
192
+
For example, if you see "test.zip/sub-01/scan.nii", the full path is: ${baseDirectoryPath}/test.zip/sub-01/scan.nii
190
193
191
194
Please generate a Python script that:
192
-
1. Reads the source files
193
-
2. Renames and reorganizes them according to BIDS specification
0 commit comments