Opened 6 years ago
Closed 6 years ago
#1933 closed defect (fixed)
Petascope parses result from RAS_MARRAY_TYPES properly
Reported by: | Bang Pham Huu | Owned by: | Bang Pham Huu |
---|---|---|---|
Priority: | major | Milestone: | 9.7 |
Component: | petascope | Version: | development |
Keywords: | Cc: | Dimitar Misev, Vlad Merticariu | |
Complexity: | Medium |
Description
Currently, in Petascope it parses by "AS", if a collection contains "AS" in its name e,g: S2_L2A_SOUTH_TYROL_RAS_new7_Cell
, petascope just returns empty string instead.
private String parseMarrayStructure(String marrayLine) throws RasdamanException { String[] parts = marrayLine.split("AS"); if (parts.length < 2) { //invalid line return ""; } String marrayStructure = parts[1].trim(); String[] marrayStructureParts = marrayStructure.split("MDARRAY"); if (marrayStructureParts.length < 2) { //invalid line return ""; }
Note:
See TracTickets
for help on using tickets.