mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Make temperature optional in csv import
This adds a checkbox to be able to import csv files without temperature. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									1a0adea0cc
								
							
						
					
					
						commit
						cf06f78892
					
				
					 4 changed files with 87 additions and 95 deletions
				
			
		|  | @ -96,10 +96,14 @@ | |||
|         </xsl:attribute> | ||||
| 
 | ||||
|         <xsl:attribute name="temp"> | ||||
|           <xsl:call-template name="getFieldByIndex"> | ||||
|             <xsl:with-param name="index" select="$tempField"/> | ||||
|             <xsl:with-param name="line" select="$line"/> | ||||
|           </xsl:call-template> | ||||
|           <xsl:choose> | ||||
|             <xsl:when test="$tempField >= 0"> | ||||
|               <xsl:call-template name="getFieldByIndex"> | ||||
|                 <xsl:with-param name="index" select="$tempField"/> | ||||
|                 <xsl:with-param name="line" select="$line"/> | ||||
|               </xsl:call-template> | ||||
|             </xsl:when> | ||||
|           </xsl:choose> | ||||
|         </xsl:attribute> | ||||
|       </sample> | ||||
|     </xsl:if> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue