https://projects.ecoinformatics.org/ecoinfo/https://projects.ecoinformatics.org/ecoinfo/ecoinfo/favicon.ico?14691340362005-01-21T17:15:22ZEcoinformatics RedmineMorpho - Bug #1799: Losing data tables when using “Export”https://projects.ecoinformatics.org/ecoinfo/issues/1799?journal_id=62082005-01-21T17:15:22ZSaurabh Gargsgarg@nceas.ucsb.edu
<ul></ul><p>Fixed. (Replaced return with continue in the for loop)</p>
<p>Another issue I found with export: <br />When a datapackage has two data files with same names (for example two files <br />from different directories having same generic name like 'data'). When the <br />user exports the datapackage, there will be only one file in the data directory <br />as morpho export the data with the same filenames as the original file. Hence <br />after both the files have been written to data directory, there is only one <br />data file.</p>
<p>Possible solutions:<br />1. Close this bug and enter this as a new bug to be taken care of in the next <br />release.<br />2. Name the data files with there assigned urls. e.g. knb.213.1<br />3. Create directories with names as assigned urls and save data files in there <br />seperate directories. <br />4. Something else that I cannot think of.</p> Morpho - Bug #1799: Losing data tables when using “Export”https://projects.ecoinformatics.org/ecoinfo/issues/1799?journal_id=62092005-01-21T17:37:48ZMatt Jonesjones@nceas.ucsb.edu
<ul></ul><p>Also could try:</p>
<p>5. Check for naming conflict before writing the file, and if a file already<br />exists withthe same name, append a suffix onto the end of the basename (e.g.,<br />data.txt renamed to data-1.txt before being exported).</p> Morpho - Bug #1799: Losing data tables when using “Export”https://projects.ecoinformatics.org/ecoinfo/issues/1799?journal_id=62102005-05-27T16:46:13ZSaurabh Gargsgarg@nceas.ucsb.edu
<ul></ul><p>Fixed the bug in last comments using the third suggection - create directories <br />with names as assigned urls and save data files in there seperate directories</p> Morpho - Bug #1799: Losing data tables when using “Export”https://projects.ecoinformatics.org/ecoinfo/issues/1799?journal_id=62112005-05-27T20:08:19ZSaurabh Gargsgarg@nceas.ucsb.edu
<ul></ul><p>Both I and Veronique tested the fix. It is running fine. Closing the bug.</p> Morpho - Bug #1799: Losing data tables when using “Export”https://projects.ecoinformatics.org/ecoinfo/issues/1799?journal_id=62122013-03-27T21:18:14ZRedmine Admin
<ul></ul><p>Original Bugzilla ID was 1799</p>