patchGNU Octave - Patches: patch #9229, check for data files ending with...

 
 

patch #9229: check for data files ending with .txt in find_file_to_load(...)

Submitter:  None
Submitted:  Sun 22 Jan 2017 04:15:09 PM UTC
   
 
Category:  Core : other Priority:  5 - Normal
Status:  Wont Do Privacy:  Public
Assigned to:  None Originator Email:  -email is unavailable-
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 07 Mar 2019 01:46:08 AM UTC, comment #1: 

Unless this is a Matlab compatibility bug, I don't think we are going to make this change in Octave. It's bad enough that the .mat file extension needs to be implied in the load command, I don't think we will be adding any more support for other implicit file extensions.

Mike Miller <mtmiller>
Group Member
Sun 22 Jan 2017 04:15:09 PM UTC, original submission:  

The following code loads the fisheriris data set in Matlab:

<code>load fisheris</code>

But it doesn't work in Octave with the statistics package. This is because the data in this package is stored in a .txt file in Octave's txt format. This patch will make the search check .txt files as well as .mat and bare (no extension) files.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #39529:  searchdatatxt.patch added by None (2KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2019-03-07 mtmiller StatusNone Wont Do
    Open/ClosedOpen Closed
2017-01-22 None Attached File- Added searchdatatxt.patch, #39529

Back to the top

Powered by Savane 3.13-3230.
Corresponding source code