Anonymous avatar Anonymous committed be8b7f4

Readding test data zip and changing the way it handles moving between tabs before user ID is provided

Comments (0)

Files changed (4)

 date_default_timezone_set('America/New_York');
 error_reporting(0);
 $username = $_POST['userID'];
-if(is_dir("temp/" . $username) == false | $username == '') {
+if($username == '') {
+	exit;
+}
+if(is_dir("temp/" . $username) == false) {
 	echo "<script> window.alert(\"ID does not match any sessions\");
 	if(get_cookie('rcircostoken') != '') {
 		forgetCookie();
 <p><br>
   <h3>!!! Important !!! All data uploaded should be in tab delimited or comma separated format.<br> If the plot is not displaying correctly please make sure that the data <br> is formatted similar to the examples below</h3>
   <br>
+  <a name="email" id="email"></a>
+  <p><strong>Why do we request your email address?</strong> <br><br>
+  Providing your email address allows us to send you an email when your plot <br>
+  has finished. This is especially helpful for large data sets which may take <br>
+  a few minutes to complete. You may provide multiple emails separated by <br>
+  commas but be careful who you send these links to. The links contain your <br>
+  user ID and will allow anyone who has it to access your data. <br><br>
+  Emails are never saved on the server and cannot be used for any other purpose</p>
+  <br>
   The first three columns of the data table, except for input to the link <br>
   plot, must be genomic position information in the order of chromosome names, <br>
   chromosome start, and chromosome end positions. <br> 
 						<option value="Mouse">Mouse (mm9)</option>
 						<option value="Rat">Rat (rn4)</option>
 				</select></td>
-				<td><a title='Providing your email address allows us to send a download link of your plot directly to you once it is done'><strong>Email Address:</strong></a></td>
-				<td><input id='email' name='email' type='text'></input></td>
 				<td>&nbsp;</td>
 				<td>&nbsp;</td>
 				</tr>
 	 -->
 			<tr>
 				<td>&nbsp;</td>
-				<td>&nbsp;</td>
+				<td><a title='Providing your email address allows us to send a download link of your plot directly to you once it is done. It is never stored on the server and cannot be used for any other purpose.'><strong>Optional Email Address:</strong></a>
+				<input id='email' name='email' type='text'></input>
+				<a id='email_a' href = "rcircos_help.html" onclick="Javascript: return popitup('rcircos_help.html#email')">?</a></td>
 				<td><strong>File Type:</strong><select name='fileType' id='fileType'>
 						<option value="png" >png</option>
 						<option value="jpeg" >jpeg</option>

rcircos_help.html

 <h2>Data Format Examples for RCircos Web Application</h2>
 <p><br>
   <h3>!!! Important !!! All data uploaded should be in tab delimited or comma separated format.<br> If the plot is not displaying correctly please make sure that the data <br> is formatted similar to the examples below</h3>
+    <br>
+  <a name="email" id="email"></a>
+  <p><strong>Why do we request your email address? </strong><br><br>
+  Providing your email address allows us to send you an email when your plot <br>
+  has finished. This is especially helpful for large data sets which may take <br>
+  a few minutes to complete. You may provide multiple emails separated by <br>
+  commas but be careful who you send these links to. The links contain your <br>
+  user ID and will allow anyone who has it to access your data. <br><br>
+  Emails are never saved on the server and cannot be used for any other purpose</p>
   <br>
   The first three columns of the data table, except for input to the link <br>
   plot, must be genomic position information in the order of chromosome names, <br>
-  chromosome start, and chromosome end positions. <br> 
+  chromosome start, and chromosome end positions. <br>
   <br>
   For gene labels and heatmap plots, the gene/probe names must be provided <br>
   in the fourth column. For other plots, this column could be optional. <br>

Binary file added.

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.