Commits

Kevin A. Archie  committed 0a9af6b

XNAT wants SUBJECT_ID and EXPT_LABEL instead of SUBJECT_LABEL and SESSION_LABEL

  • Participants
  • Parent commits fafd1b0

Comments (0)

Files changed (2)

 	<groupId>org.nrg</groupId>
 	<artifactId>UploadAssistant</artifactId>
 	<packaging>jar</packaging>
-	<version>1.5.3b1</version>
+	<version>1.5.4b1</version>
 	<name>XNAT UploadAssistant</name>
 	<url>http://nrg.wustl.edu</url>
 	<repositories>

File src/main/java/org/nrg/dcm/Study.java

                 final StringBuilder urlb = new StringBuilder(baseURL.toString());
                 urlb.append("/REST/services/import?import-handler=DICOM-zip");
                 urlb.append("&PROJECT_ID=").append(project);
-                urlb.append("&SUBJECT_LABEL=").append(subj);
-                urlb.append("&SESSION_LABEL=").append(sess);
+                urlb.append("&SUBJECT_ID=").append(subj);
+                urlb.append("&EXPT_LABEL=").append(sess);
                 urlb.append("&rename=true");
                 dataPostURL = new URL(urlb.toString());
             } catch (MalformedURLException e) {