Ignore:
Timestamp:
Dec 2, 2015 1:24:05 PM (7 years ago)
Author:
srkline
Message:

Filling in missing "dummy" functions when XML xop is not present.

Added new V_ procedures for the beginning of the reduction steps - initialization, main panel, preferences, and a menu. These are lifted directly from the SANS routines and much still needs to be modified.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/V_HDF5_RW_Utils.ipf

    r970 r971  
    314314 
    315315                if(!groupID) 
    316                         HDF5CreateGroup /Z fileID, groupName, groupID 
    317                         //err = 1 
    318                         //abort "HDF5 group does not exist" 
     316                // don't create the group it the name isn't right -- throw up an error 
     317                        //HDF5CreateGroup /Z fileID, groupName, groupID 
     318                        err = 1 
     319                        HDF5CloseFile /Z fileID 
     320                        DoAlert 0, "HDF5 group does not exist "+groupName+varname 
     321                        return(err) 
    319322                else 
    320323                        // get attributes and save them 
     
    399402 
    400403                if(!groupID) 
    401                         HDF5CreateGroup /Z fileID, groupName, groupID 
    402                         //err = 1 
    403                         //abort "HDF5 group does not exist" 
     404                // don't create the group it the name isn't right -- throw up an error 
     405                        //HDF5CreateGroup /Z fileID, groupName, groupID 
     406                        err = 1 
     407                        HDF5CloseFile /Z fileID 
     408                        DoAlert 0, "HDF5 group does not exist "+groupName+varname 
     409                        return(err) 
    404410                else 
    405411                        // get attributes and save them 
Note: See TracChangeset for help on using the changeset viewer.