Dan Korn Posted July 14, 2011 Share Posted July 14, 2011 Does anyone know if relative paths will work with paths to external data files? Yes, the Frodo Travel Tutorial uses a relative path with ExternalDataFileEx. matrix = new ExternalDataFileEx("/Users/UserA/Jobs/L142/Data/L142_matrix.txt", "\t") matrix = new ExternalDataFileEx("../Data/L142_matrix.txt", "\t") The former works, the latter does not. I'm running 7.2 on OS X and my folder structure is: -Jobs --L142 ---L142_Job.pdf --Data ---datafile.txt ---L142_matrix.txt The path should be relative to the input data file. If the external file is in the same folder as the main input data file, then you don't need any path at all, just the file name. Link to comment Share on other sites More sharing options...
jshobar Posted July 15, 2011 Share Posted July 15, 2011 Thanks Dan! I wrongly thought it was relative to the PDF file, not the input file. Thanks for the clarification. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.